--- cmake-2.4.7.orig/debian/cmake.lintian +++ cmake-2.4.7/debian/cmake.lintian @@ -0,0 +1,2 @@ +# this file is a template, not a real license +cmake: extra-license-file usr/share/cmake-2.4/Templates/CPack.GenericLicense.txt --- cmake-2.4.7.orig/debian/cpack.1 +++ cmake-2.4.7/debian/cpack.1 @@ -0,0 +1,141 @@ +.TH cpack 1 "August 05, 2006" "cpack 2.4-patch 2" +.SH NAME +.PP + cpack - Packaging driver provided by CMake. +.SH SYNOPSIS +.PP + cpack -G [options] +.SH DESCRIPTION +.PP +The "cpack" executable is the CMake packaging program. CMake-generated build trees created for projects that use the INSTALL_* commands have packaging support. This program will generate the package. + +.PP +CMake is a cross-platform build system generator. Projects specify their build process with platform-independent CMake listfiles included in each directory of a source tree with the name CMakeLists.txt. Users build a project by using CMake to generate a build system for a native tool on their platform. + +.SH OPTIONS +.TP +.B -G +Use the specified generator to generate package. + +CPack may support multiple native packaging systems on certain platforms. A generator is responsible for generating input files for particular system and invoking that systems. Possible generator names are specified in the Generators section. + +.TP +.B -C +Specify the project configuration + +This option specifies the configuration that the project was build with, for example 'Debug', 'Release'. + +.TP +.B -D = +Set a CPack variable. + +Set a variable that can be used by the generator. + +.TP +.B --config +Specify the config file. + +Specify the config file to use to create the package. By default CPackConfig.cmake in the current directory will be used. + +.TP +.B --copyright [file] +Print the CMake copyright and exit. + +If a file is specified, the copyright is written into it. + +.TP +.B --help +Print usage information and exit. + +Usage describes the basic command line interface and its options. + +.TP +.B --help-full [file] +Print full help and exit. + +Full help displays most of the documentation provided by the UNIX man page. It is provided for use on non-UNIX platforms, but is also convenient if the man page is not installed. If a file is specified, the help is written into it. + +.TP +.B --help-html [file] +Print full help in HTML format. + +This option is used by CMake authors to help produce web pages. If a file is specified, the help is written into it. + +.TP +.B --help-man [file] +Print a UNIX man page and exit. + +This option is used by the cmake build to generate the UNIX man page. If a file is specified, the help is written into it. + +.TP +.B --version [file] +Show program name/version banner and exit. + +If a file is specified, the version is written into it. + +.SH GENERATORS +.PP +The following generators are available on this platform: + +.TP +.B STGZ +Self extracting Tar GZip compression + +.TP +.B TBZ2 +Tar BZip2 compression + +.TP +.B TGZ +Tar GZip compression + +.TP +.B TZ +Tar Compress compression + +.TP +.B ZIP +ZIP file format + +.SH MODULES +.PP +The following modules are provided with CMake. They can be used with INCLUDE(ModuleName). + +.SH COPYRIGHT +.PP +Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. + +.PP +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +.TP +.B * +Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +.TP +.B * +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. + +.TP +.B * +The names of Kitware, Inc., the Insight Consortium, or the names of any consortium members, or of any contributors, may not be used to endorse or promote products derived from this software without specific prior written permission. + +.TP +.B * +Modified source versions must be plainly marked as such, and must not be misrepresented as being the original software. + +.PP +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER 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. + +.SH MAILING LIST +.PP +For help and discussion about using cmake, a mailing list is provided at cmake@www.cmake.org. Please first read the full documentation at http://www.cmake.org before posting questions to the list. + +.SH SEE ALSO +.PP +.B cmake(1), ccmake(1) + +.SH AUTHOR +.PP +This manual page was generated by the "--help-man" option. + --- cmake-2.4.7.orig/debian/cmake.menu +++ cmake-2.4.7/debian/cmake.menu @@ -0,0 +1,3 @@ +?package(cmake):needs="text" section="Apps/Programming"\ + title="ccmake" command="/usr/bin/ccmake"\ + icon="/usr/share/pixmaps/cmake.xpm" --- cmake-2.4.7.orig/debian/CMakeSetup.1 +++ cmake-2.4.7/debian/CMakeSetup.1 @@ -0,0 +1,65 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH CMAKE SECTION "November 28, 2001" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +cmake \- Cross-platform Make +.SH SYNOPSIS +.B cmake +.RI [ options ] " files" ... +.br +.B CMakeSetup +.RI [ options ] " files" ... +.br +.B ctest +.RI [ options ] " files" ... +.SH DESCRIPTION +This manual page documents briefly the +.B cmake +and +.B CMakeSetup +and +.B ctest +commands. +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page. +Instead, it has documentation in PDF format; see below. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBcmake\fP is a program that... +.SH OPTIONS +These programs follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +For a complete description, see the Info files. +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.SH SEE ALSO +.BR Dart (1), +.BR VTK (1). +.br +The programs are documented fully by +.IR /usr/share/doc/cmake/CMake.pdf.gz , +installed with this package. +.SH AUTHOR +This manual page was written by A. Maitland Bottoms , +for the Debian GNU/Linux system (but may be used by others). --- cmake-2.4.7.orig/debian/compat +++ cmake-2.4.7/debian/compat @@ -0,0 +1 @@ +5 --- cmake-2.4.7.orig/debian/cmake.xpm +++ cmake-2.4.7/debian/cmake.xpm @@ -0,0 +1,44 @@ +/* XPM */ +static char *cmake[] = { +/* columns rows colors chars-per-pixel */ +"32 30 8 1", +" c #000000", +"r c #FF0000", +"g c #007f00", +"b c #0000FF", +"X c #007F7F", +"+ c #7F7F00", +"& c #B2B2B2", +"- c None", +/* pixels */ +"---------------&&---------------", +"---------------b&---------------", +"--------------&br&--------------", +"-------------&bbr&--------------", +"-------------&bbrr&-------------", +"-------------bbbrr&-------------", +"------------&bbbrrr&------------", +"-----------&bbbbrrr&------------", +"-----------&bbbbrrrr------------", +"-----------bbbbbrrrr&-----------", +"----------&bbbbbrrrrr&----------", +"----------bbbbbbbrrrrr----------", +"---------&bbbbbbbrrrrr&---------", +"---------bbbbbbbbrrrrrr---------", +"--------&bbbbbbbbrrrrrr&--------", +"-------&bbbbbbbbbbrrrrr&--------", +"-------&bbbbbbbbbbrrrrrr&-------", +"-------bbbbbbbbb&rrrrrrr&-------", +"------&bbbbbbb&&&&rrrrrrr&------", +"-----&&bbbbbb&&&&&rrrrrrrr------", +"----&&bbbbb&&&&&&&rrrrrrrr&-----", +"----&bbbbbX&&&&&&&&rrrrrrrr-----", +"----&bbbbXg&&&&&&&&rrrrrrrr&----", +"---&bbbXgggggg&&&&&&rrrrrrrr----", +"---&bbXXggggggggg&&&rrrrrrrr&---", +"--&bbXggggggggggggg&rrrrrrrrr---", +"--&bXgggggggggggggggg+rrrrrrr&--", +"-&bXgggggggggggggggggggg++rrrr--", +"-bXggggggggggggggggggggggg++rr&&", +"&gggggggggggggggggggggggggggg+r-" +}; --- cmake-2.4.7.orig/debian/dirs +++ cmake-2.4.7/debian/dirs @@ -0,0 +1,7 @@ +usr/bin +usr/share/doc/cmake +usr/share/man/man1 +usr/share/pixmaps +usr/share/vim/addons/plugin +usr/share/emacs/site-lisp +usr/share/lintian/overrides --- cmake-2.4.7.orig/debian/cmaketest.1 +++ cmake-2.4.7/debian/cmaketest.1 @@ -0,0 +1,116 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH CMAKE 1 "August 8, 2002" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +cmake \- Cross-platform Makefile generator. +.SH SYNOPSIS +.B cmake +.RI < path-to-source > " " [ options ] +.br +.B ccmake +.RI < path-to-source > +.br +.B ctest +.RI [ -R " " < regex > ] +.br +.B cmaketest +.RI < test-src-dir > " " < test-bin-dir > " " < test-executable > +.SH DESCRIPTION + +This manual page documents briefly the \fBcmake\fP, \fBccmake\fP, +\fBctest\fP and \fBcmaketest\fP commands. It is not intended to aid +authors of CMakeLists.txt files or to describe all advanced options +available. For full documentation, please visit +\fBhttp://www.cmake.org\fP. + +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. + +CMake provides developers with a means of building their project on +multiple platforms while writing only one build system configuration. +The developer writes a set of CMakeLists.txt files that are read by +CMake and used to generate a native build system for the current +environment. On unix platforms, Makefiles are generated. + +.PP + +\fBcmake\fP is used to generate the makefiles for a project from its +source. The first argument should specify a path to the source tree. +The current directory will be used as the build tree for the project. +Both in-source and out-of-source builds are supported, but +out-of-source builds are preferred. CMake provides functionality for +tailoring the build to user preferences through settings in the cmake +cache. Options may be set interactively using the -i option (or +\fBccmake\fP). Once CMake has generated the makefiles in the build +tree, one may use the standard \fBmake\fP tool to build the project. + +.PP + +\fBccmake\fP provides a curses interface front-end for \fBcmake\fP. +The interface allows users to interactively configure the build +options stored in the cmake cache. This is the preferred interface +for interactive builds. Build scripts should use \fBcmake\fP +directly. + +.PP + +\fBctest\fP runs tests found in the project's build tree after it has +been compiled and displays a summary of test results. Use the -R +option to specify a regular expression of test names to match. + +\fBcmaketest\fP is provided to simplify project testing scripts. It +allows a CMake project to be compiled and tested from a single command +line. + +.SH OPTIONS + +.TP +.B \-\-help +Available for \fBcmake\fP , \fBccmake\fP and \fBcmaketest\fP. +.br +Show version number and summary of options. + +.TP +.B -R regex +Available for \fBctest\fP. +.br +Run only tests matching the given regular expression. + +.TP +.B -i +Available for \fBcmake\fP. +.br +Run cmake in an interactive wizard mode to configure the build. + +.SH SEE ALSO +.BR Dart (1), +.BR VTK (1). +.BR +In Debian the programs are documented by +.IR /usr/share/doc/cmake/CMake.pdf.gz , +installed with this package. + +.SH MAILING LIST +For help using cmake, a mailing list is provided at +\fBcmake@www.cmake.org\fP. Please first read the full documentation +at \fBhttp://www.cmake.org\fP before posting questions to the list. + +.SH AUTHOR +This manual page was written by CMake authors at Kitware +. --- cmake-2.4.7.orig/debian/docs +++ cmake-2.4.7/debian/docs @@ -0,0 +1,4 @@ +CMakeLists.txt +ChangeLog.manual +ChangeLog.txt +CMakeLogo.gif --- cmake-2.4.7.orig/debian/control +++ cmake-2.4.7/debian/control @@ -0,0 +1,26 @@ +Source: cmake +Section: devel +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: A. Maitland Bottoms +Uploaders: Pierre Habouzit +Build-Depends: debhelper (>> 5.0.0), libncurses5-dev, tcl8.4, quilt +Standards-Version: 3.7.2 + +Package: cmake +Architecture: any +Depends: ${shlibs:Depends} +Description: A cross-platform, open-source make system + CMake is used to control the software compilation process using + simple platform and compiler independent configuration files. CMake + generates native makefiles and workspaces that can be used in the + compiler environment of your choice. CMake is quite sophisticated: it + is possible to support complex environments requiring system + configuration, pre-processor generation, code generation, and template + instantiation. + . + CMake was developed by Kitware as part of the NLM Insight + Segmentation and Registration Toolkit project. The ASCI VIEWS project + also provided support in the context of their parallel computation + environment. Other sponsors include the Insight, VTK, and VXL open + source software communities. --- cmake-2.4.7.orig/debian/patches/hurd-Platform.diff +++ cmake-2.4.7/debian/patches/hurd-Platform.diff @@ -0,0 +1,15 @@ +Index: cmake-2.4.6/Modules/Platform/GNU.cmake +=================================================================== +--- /dev/null ++++ cmake-2.4.6/Modules/Platform/GNU.cmake +@@ -0,0 +1,10 @@ ++# GCC is the default compiler on GNU/Hurd. ++SET(CMAKE_DL_LIBS "dl") ++SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC") ++SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared") ++SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-rdynamic") ++SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") ++SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") ++SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,") ++SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,") ++INCLUDE(Platform/UnixPaths) --- cmake-2.4.7.orig/debian/patches/CVE_2009_3560.patch +++ cmake-2.4.7/debian/patches/CVE_2009_3560.patch @@ -0,0 +1,19 @@ +Description: DoS via XML document with malformed UTF-8 sequences + (CVE_2009_3560) +Origin: http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?r1=1.164&r2=1.166 + http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?view=log#rev1.166 + http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?view=log#rev1.165 + +diff -Nur cmake-2.6.2/Utilities/cmexpat/xmlparse.c cmake-2.6.2.new/Utilities/cmexpat/xmlparse.c +--- cmake-2.6.2/Utilities/cmexpat/xmlparse.c 2008-09-24 13:34:41.000000000 -0500 ++++ cmake-2.6.2.new/Utilities/cmexpat/xmlparse.c 2010-04-13 20:48:13.273410763 -0500 +@@ -2547,6 +2547,9 @@ + return XML_ERROR_UNCLOSED_TOKEN; + case XML_TOK_PARTIAL_CHAR: + return XML_ERROR_PARTIAL_CHAR; ++ case -XML_TOK_PROLOG_S: ++ tok = -tok; ++ break; + case XML_TOK_NONE: + #ifdef XML_DTD + if (enc != encoding) --- cmake-2.4.7.orig/debian/patches/findmpeg2-addpath.diff +++ cmake-2.4.7/debian/patches/findmpeg2-addpath.diff @@ -0,0 +1,21 @@ +Index: cmake-2.4.6/Modules/FindMPEG2.cmake +=================================================================== +--- cmake-2.4.6.orig/Modules/FindMPEG2.cmake ++++ cmake-2.4.6/Modules/FindMPEG2.cmake +@@ -8,6 +8,7 @@ + # MPEG2_vo_LIBRARY, where to find the vo library. + + FIND_PATH(MPEG2_INCLUDE_DIR mpeg2.h ++ /usr/include/mpeg2dec + /usr/local/include + /usr/include + /usr/local/livid +@@ -34,7 +35,7 @@ + + #some native mpeg2 installations will depend + #on libSDL, if found, add it in. +- INCLUDE( ${MODULE_PATH}/NewCMake/FindSDL.cmake ) ++ INCLUDE( ${MODULE_PATH}/FindSDL.cmake ) + IF(SDL_FOUND) + SET( MPEG2_LIBRARIES ${MPEG2_LIBRARIES} ${SDL_LIBRARY}) + ENDIF(SDL_FOUND) --- cmake-2.4.7.orig/debian/patches/CVE_2009_3720.patch +++ cmake-2.4.7/debian/patches/CVE_2009_3720.patch @@ -0,0 +1,15 @@ +Description: DoS via malformed XML (CVE-2009-3720) +Origin: http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmltok_impl.c?r1=1.15&r2=1.13 + +diff -Nur cmake-2.6.2/Utilities/cmexpat/xmltok_impl.c cmake-2.6.2.new/Utilities/cmexpat/xmltok_impl.c +--- cmake-2.6.2/Utilities/cmexpat/xmltok_impl.c 2008-09-24 13:34:41.000000000 -0500 ++++ cmake-2.6.2.new/Utilities/cmexpat/xmltok_impl.c 2010-04-13 20:47:23.433410937 -0500 +@@ -1738,7 +1738,7 @@ + const char *end, + POSITION *pos) + { +- while (ptr != end) { ++ while (ptr < end) { + switch (BYTE_TYPE(enc, ptr)) { + #define LEAD_CASE(n) \ + case BT_LEAD ## n: \ --- cmake-2.4.7.orig/debian/patches/do-not-use-lib64.diff +++ cmake-2.4.7/debian/patches/do-not-use-lib64.diff @@ -0,0 +1,20 @@ +Index: cmake-2.4.6/Source/cmFindLibraryCommand.cxx +=================================================================== +--- cmake-2.4.6.orig/Source/cmFindLibraryCommand.cxx ++++ cmake-2.4.6/Source/cmFindLibraryCommand.cxx +@@ -90,6 +90,7 @@ + + void cmFindLibraryCommand::AddLib64Paths() + { ++#if 0 /* should not be done on Debian, just make it do nothing */ + if(!this->Makefile->GetLocalGenerator()->GetGlobalGenerator()-> + GetLanguageEnabled("C")) + { +@@ -137,6 +138,7 @@ + { + this->SearchPaths = path64; + } ++#endif + } + + std::string cmFindLibraryCommand::FindLibrary(const char* name) --- cmake-2.4.7.orig/debian/patches/series +++ cmake-2.4.7/debian/patches/series @@ -0,0 +1,9 @@ +do-not-use-lib64.diff +findmpeg2-addpath.diff +hurd-Platform.diff +hurd-SA_SIGINFO.diff +kfreebsd-Platform.diff +nsis-support.diff +findmpeg2-robustness.diff +CVE_2009_3720.patch +CVE_2009_3560.patch --- cmake-2.4.7.orig/debian/patches/kfreebsd-Platform.diff +++ cmake-2.4.7/debian/patches/kfreebsd-Platform.diff @@ -0,0 +1,24 @@ +Index: cmake-2.4.6/Modules/CMakeDetermineSystem.cmake +=================================================================== +--- cmake-2.4.6.orig/Modules/CMakeDetermineSystem.cmake ++++ cmake-2.4.6/Modules/CMakeDetermineSystem.cmake +@@ -12,6 +12,7 @@ + # HP-UX HP-UX + # IRIX IRIX + # Linux Linux ++# GNU/kFreeBSD GNU/kFreeBSD + # NetBSD NetBSD + # OpenBSD OpenBSD + # OFS/1 (Digital Unix) OSF1 +@@ -61,6 +62,11 @@ + SET(CMAKE_SYSTEM_NAME BSDOS) + ENDIF(CMAKE_SYSTEM_NAME MATCHES BSD.OS) + ++# fix for GNU/kFreeBSD , remove the GNU/ ++IF(CMAKE_SYSTEM_NAME MATCHES GNU.kFreeBSD) ++ SET(CMAKE_SYSTEM_NAME kFreeBSD) ++ENDIF(CMAKE_SYSTEM_NAME MATCHES GNU.kFreeBSD) ++ + # fix for CYGWIN which has windows version in it + IF(CMAKE_SYSTEM_NAME MATCHES CYGWIN) + SET(CMAKE_SYSTEM_NAME CYGWIN) --- cmake-2.4.7.orig/debian/patches/hurd-SA_SIGINFO.diff +++ cmake-2.4.7/debian/patches/hurd-SA_SIGINFO.diff @@ -0,0 +1,17 @@ +Index: cmake-2.4.6/Source/kwsys/ProcessUNIX.c +=================================================================== +--- cmake-2.4.6.orig/Source/kwsys/ProcessUNIX.c ++++ cmake-2.4.6/Source/kwsys/ProcessUNIX.c +@@ -2328,7 +2328,12 @@ + struct sigaction newSigChldAction; + memset(&newSigChldAction, 0, sizeof(struct sigaction)); + newSigChldAction.sa_sigaction = kwsysProcessesSignalHandler; ++ /* SA_SIGINFO isn't supported by Hurd. Checking is needed to avoid build failure */ ++#ifdef SA_SIGINFO + newSigChldAction.sa_flags = SA_NOCLDSTOP | SA_SIGINFO; ++#else ++ newSigChldAction.sa_flags = SA_NOCLDSTOP; ++#endif + #ifdef SA_RESTART + newSigChldAction.sa_flags |= SA_RESTART; + #endif --- cmake-2.4.7.orig/debian/patches/nsis-support.diff +++ cmake-2.4.7/debian/patches/nsis-support.diff @@ -0,0 +1,65 @@ +--- cmake-2.4.7.orig/Source/CPack/cmCPackGenerators.cxx ++++ cmake-2.4.7/Source/CPack/cmCPackGenerators.cxx +@@ -23,9 +23,7 @@ + #include "cmCPackTarCompressGenerator.h" + #include "cmCPackZIPGenerator.h" + #include "cmCPackSTGZGenerator.h" +-#ifdef _WIN32 +-# include "cmCPackNSISGenerator.h" +-#endif ++#include "cmCPackNSISGenerator.h" + #ifdef __APPLE__ + # include "cmCPackPackageMakerGenerator.h" + #endif +@@ -44,10 +42,8 @@ + cmCPackTGZGenerator::CreateGenerator); + this->RegisterGenerator("STGZ", "Self extracting Tar GZip compression", + cmCPackSTGZGenerator::CreateGenerator); +-#ifdef _WIN32 + this->RegisterGenerator("NSIS", "Null Soft Installer", + cmCPackNSISGenerator::CreateGenerator); +-#endif + #ifdef __CYGWIN__ + this->RegisterGenerator("CygwinBinary", "Cygwin Binary Installer", + cmCPackCygwinBinaryGenerator::CreateGenerator); +--- cmake-2.4.7.orig/Source/CPack/cmCPackNSISGenerator.cxx ++++ cmake-2.4.7/Source/CPack/cmCPackNSISGenerator.cxx +@@ -29,6 +29,13 @@ + #include + #include + ++/* NSIS uses different command line syntax on Windows and others */ ++#ifdef WIN32 ++#define NSIS_OPT "/" ++#else ++#define NSIS_OPT "-" ++#endif ++ + //---------------------------------------------------------------------- + cmCPackNSISGenerator::cmCPackNSISGenerator() + { +@@ -144,6 +151,7 @@ + << std::endl); + std::vector path; + std::string nsisPath; ++#ifdef WIN32 + if ( !cmsys::SystemTools::ReadRegistryValue( + "HKEY_LOCAL_MACHINE\\SOFTWARE\\NSIS", nsisPath) ) + { +@@ -156,6 +164,7 @@ + return 0; + } + path.push_back(nsisPath); ++#endif + nsisPath = cmSystemTools::FindProgram("makensis", path, false); + if ( nsisPath.empty() ) + { +@@ -163,7 +172,7 @@ + << std::endl); + return 0; + } +- std::string nsisCmd = "\"" + nsisPath + "\" /VERSION"; ++ std::string nsisCmd = "\"" + nsisPath + "\" " NSIS_OPT "VERSION"; + cmCPackLogger(cmCPackLog::LOG_VERBOSE, "Test NSIS version: " + << nsisCmd.c_str() << std::endl); + std::string output; --- cmake-2.4.7.orig/debian/patches/findmpeg2-robustness.diff +++ cmake-2.4.7/debian/patches/findmpeg2-robustness.diff @@ -0,0 +1,13 @@ +Index: cmake-2.4.6/Modules/FindMPEG2.cmake +=================================================================== +--- cmake-2.4.6.orig/Modules/FindMPEG2.cmake ++++ cmake-2.4.6/Modules/FindMPEG2.cmake +@@ -35,7 +35,7 @@ + + #some native mpeg2 installations will depend + #on libSDL, if found, add it in. +- INCLUDE( ${MODULE_PATH}/FindSDL.cmake ) ++ INCLUDE( ${CMAKE_ROOT}/Modules/FindSDL.cmake ) + IF(SDL_FOUND) + SET( MPEG2_LIBRARIES ${MPEG2_LIBRARIES} ${SDL_LIBRARY}) + ENDIF(SDL_FOUND) --- cmake-2.4.7.orig/debian/copyright +++ cmake-2.4.7/debian/copyright @@ -0,0 +1,55 @@ +This package was debianized by Maitland Bottoms on +Wed, 28 Nov 2001 08:45:22 -0500. + +It was downloaded from http://www.cmake.org/ + +CMake was initially developed by Kitware with the following sponsorship: + + * National Library of Medicine at the National Institutes of Health + as part of the Insight Segmentation and Registration Toolkit (ITK). + + * US National Labs (Los Alamos, Livermore, Sandia) ASC Parallel + Visualization Initiative. + + * National Alliance for Medical Image Computing (NAMIC) is funded by the + National Institutes of Health through the NIH Roadmap for Medical Research, + Grant U54 EB005149. + + * Kitware, Inc. + +The CMake copyright is as follows: + +Copyright (c) 2002 Kitware, Inc., Insight Consortium +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. + + * The names of Kitware, Inc., the Insight Consortium, or the names of + any consortium members, or of any contributors, may not be used to + endorse or promote products derived from this software without + specific prior written permission. + + * Modified source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER 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. + +See also the CMake web site: http://www.cmake.org for more information. --- cmake-2.4.7.orig/debian/doxygen.config +++ cmake-2.4.7/debian/doxygen.config @@ -0,0 +1,698 @@ +# Doxyfile 1.1.4-20000625 + +# This file describes the settings to be used by doxygen for a project +# +# All text after a hash (#) is considered a comment and will be ignored +# The format is: +# TAG = value [value, ...] +# Values that contain spaces should be placed between quotes (" ") + +#--------------------------------------------------------------------------- +# General configuration options +#--------------------------------------------------------------------------- + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded +# by quotes) that should identify the project. + +PROJECT_NAME = CMake + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = 2.4.4 + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + +OUTPUT_DIRECTORY = debian/Doxygen + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Dutch, French, Italian, Czech, Swedish, German, Finnish, Japanese, +# Spanish and Russian + +OUTPUT_LANGUAGE = English + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index at +# top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. + +DISABLE_INDEX = NO + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = YES + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + +EXTRACT_STATIC = YES + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSESS tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these class will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_CLASSES = NO + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + +REPEAT_BRIEF = YES + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + +ALWAYS_DETAILED_SEC = NO + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = NO + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. + +STRIP_FROM_PATH = + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + +INTERNAL_DOCS = NO + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a class diagram (in Html and LaTeX) for classes with base or +# super classes. Setting the tag to NO turns the diagrams off. + +CLASS_DIAGRAMS = YES + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. + +SOURCE_BROWSER = YES + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C and C++ comments will always remain visible. + +STRIP_CODE_COMMENTS = YES + +# If the CASE_SENSE_NAMES tag is set to NO (the default) then Doxygen +# will only generate file names in lower case letters. If set to +# YES upper case letters are also allowed. This is useful if you have +# classes or files whose names only differ in case and if your file system +# supports case sensitive file names. + +CASE_SENSE_NAMES = YES + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + +HIDE_SCOPE_NAMES = NO + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + +VERBATIM_HEADERS = YES + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the JAVADOC_AUTOBRIEF tag is set to YES (the default) then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the Javadoc-style will +# behave just like the Qt-style comments. + +JAVADOC_AUTOBRIEF = NO + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# reimplements. + +INHERIT_DOCS = YES + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + +SORT_MEMBER_DOCS = YES + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + +TAB_SIZE = 8 + +# The ENABLE_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if sectionname ... \endif. + +ENABLED_SECTIONS = + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + +WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + +WARN_IF_UNDOCUMENTED = YES + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. + +WARN_FORMAT = "$file:$line: $text" + +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + +#INPUT = "d:\Insight\CMake\Source" +INPUT = . + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +FILE_PATTERNS = *.h *.txx *.cxx + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + +RECURSIVE = YES + +# The EXCLUDE tag can be used to specify files and/or directories that should +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. + +EXCLUDE = debian + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. + +EXCLUDE_PATTERNS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. + +INPUT_FILTER = + +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + +ALPHABETICAL_INDEX = YES + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + +COLS_IN_ALPHA_INDEX = 3 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + +HTML_OUTPUT = html + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If the tag is left blank doxygen +# will generate a default style sheet + +HTML_STYLESHEET = + +# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, +# files or namespaces will be aligned in HTML using tables. If set to +# NO a bullet list will be used. + +HTML_ALIGN_MEMBERS = YES + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) +# of the generated HTML documentation. + +GENERATE_HTMLHELP = NO + +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + +GENERATE_LATEX = YES + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + +LATEX_OUTPUT = latex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, a4wide, letter, legal and +# executive. If left blank a4wide will be used. + +PAPER_TYPE = a4wide + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + +LATEX_HEADER = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = NO + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + +LATEX_BATCHMODE = NO + +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# For now this is experimental and is disabled by default. The RTF output +# is optimised for Word 97 and may not look too pretty with other readers +# or editors. + +GENERATE_RTF = YES + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + +RTF_OUTPUT = rtf + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using a WORD or other. +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + +RTF_HYPERLINKS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + +GENERATE_MAN = YES + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + +MAN_OUTPUT = man + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + +MAN_EXTENSION = .3 + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. + +MACRO_EXPANSION = YES + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# in the INCLUDE_PATH (see below) will be search if a #include is found. + +SEARCH_INCLUDES = NO + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + +INCLUDE_PATH = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. + +PREDEFINED = "itkNotUsed(x)="\ + "itkSetMacro(name,type)= \ + virtual void Set##name (type _arg);" \ + "itkGetMacro(name,type)= \ + virtual type Get##name ();" \ + "itkGetConstMacro(name,type)= \ + virtual type Get##name () const;" \ + "itkSetStringMacro(name)= \ + virtual void Set##name (const char* _arg);" \ + "itkGetStringMacro(name)= \ + virtual const char* Get##name () const;" \ + "itkSetClampMacro(name,type,min,max)= \ + virtual void Set##name (type _arg);" \ + "itkSetObjectMacro(name,type)= \ + virtual void Set##name (type* _arg);" \ + "itkGetObjectMacro(name,type)= \ + virtual type* Get##name ();" \ + "itkBooleanMacro(name)= \ + virtual void name##On (); \ + virtual void name##Off ();" \ + "itkSetVector2Macro(name,type)= \ + virtual void Set##name (type _arg1, type _arg2) \ + virtual void Set##name (type _arg[2]);" \ + "itkGetVector2Macro(name,type)= \ + virtual type* Get##name () const; \ + virtual void Get##name (type& _arg1, type& _arg2) const; \ + virtual void Get##name (type _arg[2]) const;" \ + "itkSetVector3Macro(name,type)= \ + virtual void Set##name (type _arg1, type _arg2, type _arg3) \ + virtual void Set##name (type _arg[3]);" \ + "itkGetVector3Macro(name,type)= \ + virtual type* Get##name () const; \ + virtual void Get##name (type& _arg1, type& _arg2, type& _arg3) const; \ + virtual void Get##name (type _arg[3]) const;" \ + "itkSetVector4Macro(name,type)= \ + virtual void Set##name (type _arg1, type _arg2, type _arg3, type _arg4) \ + virtual void Set##name (type _arg[4]);" \ + "itkGetVector4Macro(name,type)= \ + virtual type* Get##name () const; \ + virtual void Get##name (type& _arg1, type& _arg2, type& _arg3, type& _arg4) const; \ + virtual void Get##name (type _arg[4]) const;" \ + "itkSetVector6Macro(name,type)= \ + virtual void Set##name (type _arg1, type _arg2, type _arg3, type _arg4, type _arg5, type _arg6) \ + virtual void Set##name (type _arg[6]);" \ + "itkGetVector6Macro(name,type)= \ + virtual type* Get##name () const; \ + virtual void Get##name (type& _arg1, type& _arg2, type& _arg3, type& _arg4, type& _arg5, type& _arg6) const; \ + virtual void Get##name (type _arg[6]) const;" \ + "itkSetVectorMacro(name,type,count)= \ + virtual void Set##name(type data[]);" \ + "itkGetVectorMacro(name,type,count)= \ + virtual type* Get##name () const;" \ + "itkNewMacro(type)= \ + static Pointer New();" \ + "itkTypeMacro(thisClass,superclass)= \ + virtual const char *GetClassName() const;" \ + "ITK_NUMERIC_LIMITS= \ + std::numeric_limits" + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED tag. + +EXPAND_ONLY_PREDEF = YES + +#--------------------------------------------------------------------------- +# Configuration::addtions related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES tag can be used to specify one or more tagfiles. + +TAGFILES = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = NO + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + +PERL_PATH = /usr/bin/perl + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = YES + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# the CLASS_DIAGRAMS tag to NO. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = YES + +# If the ENABLE_PREPROCESSING, INCLUDE_GRAPH, and HAVE_DOT tags are set to +# YES then doxygen will generate a graph for each documented file showing +# the direct and indirect include dependencies of the file with other +# documented files. + +INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, INCLUDED_BY_GRAPH, and HAVE_DOT tags are set to +# YES then doxygen will generate a graph for each documented header file showing +# the documented files that directly or indirectly include this file + +INCLUDED_BY_GRAPH = YES + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will graphical hierarchy of all classes instead of a textual one. + +GRAPHICAL_HIERARCHY = YES + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found on the path. + +DOT_PATH = + +# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_WIDTH = 1024 + +# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_HEIGHT = 1024 + +#--------------------------------------------------------------------------- +# Configuration::addtions related to the search engine +#--------------------------------------------------------------------------- + +# The SEARCHENGINE tag specifies whether or not a search engine should be +# used. If set to NO the values of all tags below this one will be ignored. + +SEARCHENGINE = NO + +# The CGI_NAME tag should be the name of the CGI script that +# starts the search engine (doxysearch) with the correct parameters. +# A script with this name will be generated by doxygen. + +CGI_NAME = search.cgi + +# The CGI_URL tag should be the absolute URL to the directory where the +# cgi binaries are located. See the documentation of your http daemon for +# details. + +CGI_URL = + +# The DOC_URL tag should be the absolute URL to the directory where the +# documentation is located. If left blank the absolute path to the +# documentation, with file:// prepended to it, will be used. + +DOC_URL = + +# The DOC_ABSPATH tag should be the absolute path to the directory where the +# documentation is located. If left blank the directory on the local machine +# will be used. + +DOC_ABSPATH = + +# The BIN_ABSPATH tag must point to the directory where the doxysearch binary +# is installed. + +BIN_ABSPATH = /usr/local/bin/ + +# The EXT_DOC_PATHS tag can be used to specify one or more paths to +# documentation generated for other projects. This allows doxysearch to search +# the documentation for these projects as well. + +EXT_DOC_PATHS = --- cmake-2.4.7.orig/debian/cmake.manpages +++ cmake-2.4.7/debian/cmake.manpages @@ -0,0 +1,5 @@ +debian/cmake.1 +debian/cpack.1 +debian/cmaketest.1 +debian/ccmake.1 +debian/ctest.1 --- cmake-2.4.7.orig/debian/changelog +++ cmake-2.4.7/debian/changelog @@ -0,0 +1,435 @@ +cmake (2.4.7-1ubuntu0.1) hardy-security; urgency=low + + * SECURITY UPDATE: fix DoS via malformed XML + - debian/patches/CVE_2009_3720.patch: xmltok_impl.c to not access beyond + end of input string + - CVE-2009-3720 + * SECURITY UPDATE: fix DoS via malformed UTF-8 sequences + - debian/patches/CVE_2009_3560.patch: update xmlparse.c to properly + recognize the end of a token + - CVE-2009-3560 + + -- Jamie Strandboge Tue, 13 Apr 2010 20:58:35 -0500 + +cmake (2.4.7-1build1) hardy; urgency=low + + * Rebuild with recent g++ compiler version. + + -- Matthias Klose Thu, 03 Apr 2008 11:24:13 +0000 + +cmake (2.4.7-1) unstable; urgency=low + + * New upstream release. + * Drop patches/findqt4-binaries-order.diff (Closes: #433105). + + -- Pierre Habouzit Thu, 19 Jul 2007 18:58:37 +0200 + +cmake (2.4.6-1) unstable; urgency=low + + * Upload to unstable. + * Make FindMPEG2.cmake more robust (Closes: 419134). + + -- Pierre Habouzit Mon, 18 Jun 2007 10:24:58 +0100 + +cmake (2.4.6-0) experimental; urgency=low + + * New upstream release (experimental upload, 2.4.5 must propagate): + + Ruby NAMES now includes ruby1.8 (Closes: 407481). + + * Add patch to support NSIS on linux properly, + thanks to Michal Čihař (Closes: 408846). + + -- Pierre Habouzit Wed, 13 Jun 2007 12:39:42 +0200 + +cmake (2.4.5-2) unstable; urgency=low + + * Add myself to Uploaders. + * Ack my NMU (Closes: 419007, 407155, 407304). + * Move to quilt, split diff.gz into patches, to avoid losing them. + + * debian/rules: + + add quilt snipplets. + + remove commented dh_ calls. + + remove old cruft, make it shorter. + + Avoid subshells, use makeism's rather than shell if/then/else. + + * Lintian warnings: + + use debian/compat rather than DH_COMPAT. + + add an override for the extra-license-file that in fact is a template. + + -- Pierre Habouzit Thu, 07 Jun 2007 11:09:46 +0200 + +cmake (2.4.5-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Disable lib64 paths in FindLibrary, as it's not needed in debian and + yields incorrect results (Closes: #419007). + * Apply Hurd Porter patch to deal with undefined SA_SIGINFO + (Closes: #407304). + * Reintroduce lost GNU.cmake (Closes: #407155). + + -- Pierre Habouzit Tue, 05 Jun 2007 13:28:35 +0200 + +cmake (2.4.5-1) unstable; urgency=low + + * New upstream bugfix release (Closes: #401071) + Fix for seg fault when a macro runs a bad command BUG# 3815 + Fix fix for foo.dll.lib that does not break -L/usr/lib in link names + Fix problem with LIBRARY_OUTPUT_PATH and linking to a dll foo.dll.lib instead of foo.lib + Do not depend on optimized libraries for a debug build and visa versa. + Fix target name matching custom command output conflict. + Fix FindQt3 so that it does not find qt4 + Fix FindKDE4 so that it only looks for kde4-config + + -- A. Maitland Bottoms Mon, 4 Dec 2006 16:29:44 -0500 + +cmake (2.4.4-1) unstable; urgency=low + + * New upstream release + * Upstream fixes parsing bug (Closes: #392624) + + -- A. Maitland Bottoms Sat, 25 Nov 2006 19:49:38 -0500 + +cmake (2.4.3-3) unstable; urgency=low + + * Have FindMPEG2 look in paths used in Debian (Closes: #391831) + * Make FindQt4 more reliable (Closes: #392473) + + -- A. Maitland Bottoms Fri, 10 Nov 2006 11:27:35 -0500 + +cmake (2.4.3-2) unstable; urgency=low + + * Remove recommends line (Closes: #392013, #392044) + + -- A. Maitland Bottoms Tue, 10 Oct 2006 21:33:40 -0400 + +cmake (2.4.3-1) unstable; urgency=low + + * New upstream release + * recognize .F90 as a fortran source extension (Closes: #376587) + * don't install cmake .vim files (Closes: #366663) + * don't depend upon emacs, let dh_installemacsen handle it (Closes: #378998) + + -- A. Maitland Bottoms Sat, 5 Aug 2006 17:06:11 -0400 + +cmake (2.4.2-1) unstable; urgency=low + + * New upstream release (Closes: #338324) + * Put cmake .vim files into /usr/share/vim/addons/plugin/ + where they can be used. (Closes: #366663) + * Install cmake-mode.el so it can be used. (Closes: #366664) + * Ensure cmake FindKDE locates KDE libraries on Debian + based distributions. + + -- A. Maitland Bottoms Sun, 18 Jun 2006 16:34:11 -0400 + +cmake (2.2.3-1) unstable; urgency=low + + * New upstream release (Closes: #338324) + * support GNU/kFreeBSD in cmake (Closes: #340764) + + -- A. Maitland Bottoms Sun, 8 Jan 2006 10:48:14 -0500 + +cmake (2.0.6-2) unstable; urgency=low + + * Apply upstream patch to fix UseSWIG.cmake (Closes: #330581) + + -- A. Maitland Bottoms Wed, 28 Sep 2005 15:29:19 -0400 + +cmake (2.0.6-1) unstable; urgency=low + + * New upstream release + * g++ 4.0 Transition + + -- A. Maitland Bottoms Sun, 11 Sep 2005 14:51:36 -0400 + +cmake (2.0.5-1) unstable; urgency=low + + * New upstream release + + -- A. Maitland Bottoms Wed, 2 Mar 2005 09:22:44 -0500 + +cmake (2.0.3-1) unstable; urgency=low + + * New upstream release + * finds QT's moc, gets bug closing syntax right (Closes: #250000) + + -- A. Maitland Bottoms Thu, 12 Aug 2004 09:21:32 -0400 + +cmake (2.0.2-1) unstable; urgency=low + + * New upstream release + + -- A. Maitland Bottoms Wed, 23 Jun 2004 13:51:38 -0400 + +cmake (2.0.1-1) unstable; urgency=low + + * New upstream release with soname and soversion support + * find QT's moc (Closes: 250000) + + -- A. Maitland Bottoms Mon, 7 Jun 2004 22:08:50 -0400 + +cmake (1.8.2.1-1) unstable; urgency=low + + * From CVS to pick up soname and soversion support + + -- A. Maitland Bottoms Wed, 26 Nov 2003 21:46:54 -0500 + +cmake (1.8.1-1) unstable; urgency=low + + * New upstream release + * Add Gavin Baker's Take II on adding versioning support for shared libraries + + -- A. Maitland Bottoms Sun, 9 Nov 2003 09:43:02 -0500 + +cmake (1.6.7-2) unstable; urgency=low + + * Add Gavin Baker's Take II on adding versioning support for shared libraries + + -- A. Maitland Bottoms Mon, 23 Jun 2003 13:39:03 -0400 + +cmake (1.6.7-1) unstable; urgency=low + + * New upstream release + + -- A. Maitland Bottoms Mon, 23 Jun 2003 13:06:46 -0400 + +cmake (1.6.5-1) unstable; urgency=low + + * New upstream release + + -- A. Maitland Bottoms Mon, 24 Feb 2003 11:25:58 -0500 + +cmake (1.6.4-1) unstable; urgency=low + + * New upstream release, move up to tcl8.4 + + -- A. Maitland Bottoms Fri, 14 Feb 2003 16:06:12 -0500 + +cmake (1.4.7-1) unstable; urgency=low + + * New upstream release + * Build without dart-client network submission (Closes: #175579) + + -- A. Maitland Bottoms Mon, 06 Jan 2003 19:02:36 -0500 + +cmake (1.4.6-1) unstable; urgency=low + + * New upstream release + + -- A. Maitland Bottoms Thu, 24 Oct 2002 21:19:47 -0400 + +cmake (1.4.5-2) unstable; urgency=low + + * Don't put man page in /usr/man (Closes: #163901) + + -- A. Maitland Bottoms Thu, 17 Oct 2002 17:43:22 -0400 + +cmake (1.4.5-1) unstable; urgency=low + + * New upstream version. + + -- A. Maitland Bottoms Fri, 20 Sep 2002 23:33:49 -0400 + +cmake (1.4.3-3) unstable; urgency=low + + * Build with Dart, build in separate Build directory to make cleanup easier + * New upstream man page + * CMakeSetup no longer exists upstream, Debian menu now refers to ccmake + + -- A. Maitland Bottoms Tue, 6 Aug 2002 19:05:05 -0400 + +cmake (1.4.3-2) unstable; urgency=low + + * Oh no, not again. + * Use -ffunction-sections on parisc64 (closes: #155366) + + -- A. Maitland Bottoms Sat, 3 Aug 2002 21:45:37 -0400 + +cmake (1.4.3-1) unstable; urgency=low + + * New upstream. (Closes: #155296) + + -- A. Maitland Bottoms Sat, 3 Aug 2002 00:02:18 -0400 + +cmake (1.2-2) unstable; urgency=low + + * Use -ffunction-sections on parisc64 (closes: #133696) + + -- Maitland Bottoms Thu, 14 Feb 2002 18:36:25 +0000 + +cmake (1.2-1) unstable; urgency=low + + * New upstream. + + -- A. Maitland Bottoms Thu, 9 Jan 2002 17:20:12 -0500 + +cmake (1.0-1) unstable; urgency=low + + * Newer upstream. (Need to keep up with VTK 4 build needs) + * Patched support for DESTDIR in install targets + * Patched option to disable use of -rpath using CMAKE_SKIP_RPATH + * include cmake-mode.el + + -- A. Maitland Bottoms Thu, 9 Jan 2002 17:20:12 -0500 + +cmake (0.98-1) unstable; urgency=low + + * Newer upstream, includes curses interface: ccmake + * Patched to support make install DESTDIR=foo + + -- A. Maitland Bottoms Mon, 17 Dec 2001 19:54:32 -0500 + +cmake (0.96-1) unstable; urgency=low + + * Initial Release. + (Closes: #121610) + + -- A. Maitland Bottoms Wed, 28 Nov 2001 08:45:22 -0500 + + +cmake (2.0.5-1) unstable; urgency=low + + * New upstream release + + -- A. Maitland Bottoms Wed, 2 Mar 2005 09:22:44 -0500 + +cmake (2.0.3-1) unstable; urgency=low + + * New upstream release + * finds QT's moc, gets bug closing syntax right (Closes: #250000) + + -- A. Maitland Bottoms Thu, 12 Aug 2004 09:21:32 -0400 + +cmake (2.0.2-1) unstable; urgency=low + + * New upstream release + + -- A. Maitland Bottoms Wed, 23 Jun 2004 13:51:38 -0400 + +cmake (2.0.1-1) unstable; urgency=low + + * New upstream release with soname and soversion support + * find QT's moc (Closes: 250000) + + -- A. Maitland Bottoms Mon, 7 Jun 2004 22:08:50 -0400 + +cmake (1.8.2.1-1) unstable; urgency=low + + * From CVS to pick up soname and soversion support + + -- A. Maitland Bottoms Wed, 26 Nov 2003 21:46:54 -0500 + +cmake (1.8.1-1) unstable; urgency=low + + * New upstream release + * Add Gavin Baker's Take II on adding versioning support for shared libraries + + -- A. Maitland Bottoms Sun, 9 Nov 2003 09:43:02 -0500 + +cmake (1.6.7-2) unstable; urgency=low + + * Add Gavin Baker's Take II on adding versioning support for shared libraries + + -- A. Maitland Bottoms Mon, 23 Jun 2003 13:39:03 -0400 + +cmake (1.6.7-1) unstable; urgency=low + + * New upstream release + + -- A. Maitland Bottoms Mon, 23 Jun 2003 13:06:46 -0400 + +cmake (1.6.5-1) unstable; urgency=low + + * New upstream release + + -- A. Maitland Bottoms Mon, 24 Feb 2003 11:25:58 -0500 + +cmake (1.6.4-1) unstable; urgency=low + + * New upstream release, move up to tcl8.4 + + -- A. Maitland Bottoms Fri, 14 Feb 2003 16:06:12 -0500 + +cmake (1.4.7-1) unstable; urgency=low + + * New upstream release + * Build without dart-client network submission (Closes: #175579) + + -- A. Maitland Bottoms Mon, 06 Jan 2003 19:02:36 -0500 + +cmake (1.4.6-1) unstable; urgency=low + + * New upstream release + + -- A. Maitland Bottoms Thu, 24 Oct 2002 21:19:47 -0400 + +cmake (1.4.5-2) unstable; urgency=low + + * Don't put man page in /usr/man (Closes: #163901) + + -- A. Maitland Bottoms Thu, 17 Oct 2002 17:43:22 -0400 + +cmake (1.4.5-1) unstable; urgency=low + + * New upstream version. + + -- A. Maitland Bottoms Fri, 20 Sep 2002 23:33:49 -0400 + +cmake (1.4.3-3) unstable; urgency=low + + * Build with Dart, build in separate Build directory to make cleanup easier + * New upstream man page + * CMakeSetup no longer exists upstream, Debian menu now refers to ccmake + + -- A. Maitland Bottoms Tue, 6 Aug 2002 19:05:05 -0400 + +cmake (1.4.3-2) unstable; urgency=low + + * Oh no, not again. + * Use -ffunction-sections on parisc64 (closes: #155366) + + -- A. Maitland Bottoms Sat, 3 Aug 2002 21:45:37 -0400 + +cmake (1.4.3-1) unstable; urgency=low + + * New upstream. (Closes: #155296) + + -- A. Maitland Bottoms Sat, 3 Aug 2002 00:02:18 -0400 + +cmake (1.2-2) unstable; urgency=low + + * Use -ffunction-sections on parisc64 (closes: #133696) + + -- Maitland Bottoms Thu, 14 Feb 2002 18:36:25 +0000 + +cmake (1.2-1) unstable; urgency=low + + * New upstream. + + -- A. Maitland Bottoms Thu, 9 Jan 2002 17:20:12 -0500 + +cmake (1.0-1) unstable; urgency=low + + * Newer upstream. (Need to keep up with VTK 4 build needs) + * Patched support for DESTDIR in install targets + * Patched option to disable use of -rpath using CMAKE_SKIP_RPATH + * include cmake-mode.el + + -- A. Maitland Bottoms Thu, 9 Jan 2002 17:20:12 -0500 + +cmake (0.98-1) unstable; urgency=low + + * Newer upstream, includes curses interface: ccmake + * Patched to support make install DESTDIR=foo + + -- A. Maitland Bottoms Mon, 17 Dec 2001 19:54:32 -0500 + +cmake (0.96-1) unstable; urgency=low + + * Initial Release. + (Closes: #121610) + + -- A. Maitland Bottoms Wed, 28 Nov 2001 08:45:22 -0500 + + --- cmake-2.4.7.orig/debian/rules +++ cmake-2.4.7/debian/rules @@ -0,0 +1,105 @@ +#!/usr/bin/make -f + +# The next line will cause Dart to be used if it is installed... +#USE_DARTP:=$(shell if [ -d /usr/share/Dart ]; then echo true; fi ) +USE_DARTP:= + +DARCH := $(shell dpkg --print-installation-architecture) +CFLAGS := -Wall -g $(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),-O0,-O2) +QUILT_CALL := QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null + + +# Hack for parisc64 to close bug #133696 +ifeq ($(shell arch),parisc64) +CFLAGS += -ffunction-sections +endif + +patch: patch-stamp +patch-stamp: + $(QUILT_CALL) push -a || test $$? = 2 + touch $@ + +unpatch: + $(QUILT_CALL) pop -a -R || test $$? = 2 + +configure: configure-stamp +configure-stamp: + dh_testdir + # pre-load the cache to avoid setting rpath: + rm -rf Build && mkdir -p Build + echo CMAKE_SKIP_RPATH:BOOL=YES >> Build/CMakeCache.txt + #echo TARGET_VERSION:STRING= >> Build/CMakeCache.txt + #echo TARGET_SOVERSION:STRING= >> Build/CMakeCache.txt + #echo BUILD_DOCUMENTATION:BOOL=ON >> Build/CMakeCache.txt + #echo BUILD_DOXYGEN:BOOL=ON >> Build/CMakeCache.txt + #echo BUILD_WXDialog:BOOL=ON >> Build/CMakeCache.txt + echo VERBOSE_BUILD:BOOL=ON >> Build/CMakeCache.txt + echo CMAKE_C_FLAGS:STRING=$(CFLAGS) >> Build/CMakeCache.txt + echo CMAKE_CXX_FLAGS:STRING=$(CFLAGS) >> Build/CMakeCache.txt + $(if $(USE_DARTP),echo DART_ROOT:PATH=/usr/share/Dart >> Build/CMakeCache.txt) + $(if $(USE_DARTP),echo BUILDNAME:STRING=cmake_2.2.3-1_$(DARCH).deb >> Build/CMakeCache.txt) + cd Build && ../bootstrap --prefix=/usr --docdir=/share/doc/cmake --mandir=/share/man + chmod -x ChangeLog.manual + chmod -x Modules/*.cmake Modules/*.cmake.in Modules/*.cxx Modules/Platform/* + touch $@ + +build: patch-stamp configure-stamp build-stamp +build-stamp: + dh_testdir + cd Build && $(MAKE) $(if $(USE_DARTP),Experimental && $(MAKE) ExperimentalSubmit) + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -rf .pc build-stamp configure-stamp patch-stamp + rm -rf Build + rm -f debian/cmake.emacsen-* + rm -f debian/ccmake.1 debian/cmake.1 debian/ctest.1 + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + # Add here commands to install the package into debian/cmake. + cd Build && $(MAKE) DESTDIR=$(CURDIR)/debian/cmake install + install -D -m 644 debian/cmake.xpm debian/cmake/usr/share/pixmaps/cmake.xpm + install -D -m 644 debian/cmake.lintian debian/cmake/usr/share/lintian/overrides/cmake + #cp Docs/cmake-indent.vim debian/cmake/usr/share/vim/addons/indent/cmake.vim + #cp Docs/cmake-syntax.vim debian/cmake/usr/share/vim/addons/syntax/cmake.vim + #cp Docs/cmake-mode.el debian/cmake/usr/share/emacs/site-lisp/ + cp Docs/cmake-mode.el debian/cmake.emacsen-startup + Build/bin/ccmake --help-man > debian/ccmake.1 + Build/bin/cmake --help-man > debian/cmake.1 + #Build/bin/cpack --help-man > debian/cpack.1 + Build/bin/ctest --help-man > debian/ctest.1 + +# Build architecture-independent files here. +binary-indep: build install + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installmenu + dh_installemacsen + dh_installcron + dh_installman + dh_installinfo + dh_installchangelogs ChangeLog.txt ChangeLog.manual + dh_link + dh_strip + dh_compress -XCMake.pdf + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch --- cmake-2.4.7.orig/debian/README.Debian +++ cmake-2.4.7/debian/README.Debian @@ -0,0 +1,11 @@ +cmake for Debian +---------------- + +Gavin Baker noticed the documentation file CMake.pdf is way out of date with +respect to CMake.rtf. + -- A. Maitland Bottoms , Mon Jun 23 17:20:14 2003 + +Tracking tagged releases from the cvs at kitware. +http://public.kitware.com/CMake/HTML/Download.html + + -- A. Maitland Bottoms , Wed, 28 Nov 2001 08:45:22 -0500