[med-svn] r2494 - trunk/packages/insighttoolkit/trunk/debian

domibel-guest at alioth.debian.org domibel-guest at alioth.debian.org
Sun Sep 14 20:38:05 UTC 2008


Author: domibel-guest
Date: 2008-09-14 20:38:04 +0000 (Sun, 14 Sep 2008)
New Revision: 2494

Modified:
   trunk/packages/insighttoolkit/trunk/debian/CMakeCache.txt.debian
   trunk/packages/insighttoolkit/trunk/debian/changelog
   trunk/packages/insighttoolkit/trunk/debian/control
   trunk/packages/insighttoolkit/trunk/debian/rules
Log:
generate documentation with doxygen


Modified: trunk/packages/insighttoolkit/trunk/debian/CMakeCache.txt.debian
===================================================================
--- trunk/packages/insighttoolkit/trunk/debian/CMakeCache.txt.debian	2008-09-14 12:31:35 UTC (rev 2493)
+++ trunk/packages/insighttoolkit/trunk/debian/CMakeCache.txt.debian	2008-09-14 20:38:04 UTC (rev 2494)
@@ -23,8 +23,8 @@
 // Install path prefix, prepended onto install directories
 CMAKE_INSTALL_PREFIX:PATH=/usr
  
-#// Need to add this soon
-#BUILD_DOXYGEN:BOOL=ON
+// Build documentation files with doxygen
+BUILD_DOXYGEN:BOOL=ON
 
 // The code still uses the older #include <iostream.h> style
 CMAKE_CXX_FLAGS:STRING=-Wno-deprecated

Modified: trunk/packages/insighttoolkit/trunk/debian/changelog
===================================================================
--- trunk/packages/insighttoolkit/trunk/debian/changelog	2008-09-14 12:31:35 UTC (rev 2493)
+++ trunk/packages/insighttoolkit/trunk/debian/changelog	2008-09-14 20:38:04 UTC (rev 2494)
@@ -1,3 +1,11 @@
+insighttoolkit (3.8.0-2) UNRELEASED; urgency=low
+
+  [Dominique Belhachemi]
+  * debian/control: new documentation package: insighttoolkit3.8-doc
+  * debian/rules: generate source code documentation with doxygen
+
+ -- Steve M. Robbins <smr at debian.org>  Sun, 14 Sep 2008 10:25:12 -0500
+
 insighttoolkit (3.8.0-1) unstable; urgency=low
 
   * New upstream release.

Modified: trunk/packages/insighttoolkit/trunk/debian/control
===================================================================
--- trunk/packages/insighttoolkit/trunk/debian/control	2008-09-14 12:31:35 UTC (rev 2493)
+++ trunk/packages/insighttoolkit/trunk/debian/control	2008-09-14 20:38:04 UTC (rev 2494)
@@ -4,7 +4,9 @@
 Priority: optional
 Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Gavin Baker <gavinb at antonym.org>, Steve M. Robbins <smr at debian.org>
-Build-Depends: cdbs (>= 0.4.49), quilt, debhelper (>= 6.0.7), cmake, cableswig, gccxml (>= 0.9.0+cvs20080525), zlib1g-dev (>= 1.2.2), libpng12-dev, libtiff4-dev (>= 3.7.3), python-support (>= 0.6.4), python-dev, python-numarray, libfftw3-dev, tcl8.4-dev, tk8.4-dev
+Build-Depends: cdbs (>= 0.4.49), quilt, debhelper (>= 6.0.7), cmake, cableswig, gccxml (>= 0.9.0+cvs20080525),
+ zlib1g-dev (>= 1.2.2), libpng12-dev, libtiff4-dev (>= 3.7.3), python-support (>= 0.6.4), python-dev,
+ python-numarray, libfftw3-dev, tcl8.4-dev, tk8.4-dev, doxygen, graphviz
 XS-Python-Version: current
 Standards-Version: 3.8.0
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/insighttoolkit/trunk/?rev=0&sc=0
@@ -104,3 +106,20 @@
  combine the information contained in both.
  .
  This package contains the source for example programs.
+
+Package: insighttoolkit3.8-doc
+Section: doc
+Architecture: all
+Suggests: libinsighttoolkit3-dev
+Description: Image processing toolkit for registration and segmentation - documentation
+ ITK is an open-source software toolkit for performing registration and
+ segmentation. Segmentation is the process of identifying and
+ classifying data found in a digitally sampled
+ representation. Typically the sampled representation is an image
+ acquired from such medical instrumentation as CT or MRI
+ scanners. Registration is the task of aligning or developing
+ correspondences between data. For example, in the medical
+ environment, a CT scan may be aligned with a MRI scan in order to
+ combine the information contained in both.
+ .
+ This package contains the documentation files.

Modified: trunk/packages/insighttoolkit/trunk/debian/rules
===================================================================
--- trunk/packages/insighttoolkit/trunk/debian/rules	2008-09-14 12:31:35 UTC (rev 2493)
+++ trunk/packages/insighttoolkit/trunk/debian/rules	2008-09-14 20:38:04 UTC (rev 2494)
@@ -17,6 +17,7 @@
 pkg_python = python-insighttoolkit$(VER_MAJOR)
 pkg_tcl = tcl8.4-insighttoolkit$(VER_MAJOR)
 pkg_examples = insighttoolkit$(VER_MAJOR)-examples
+pkg_doc = insighttoolkit$(VER_MAJOR).$(VER_MINOR)-doc
 
 PYVERS = $(shell pyversions -r debian/control)
 PYMODDIR = usr/share/python-support/$(pkg_python)
@@ -46,6 +47,8 @@
 
 common-configure-arch:: $(DEB_BUILDDIR)/CMakeCache.txt
 	cd $(DEB_BUILDDIR) && cmake ..
+	doxygen -u $(DEB_BUILDDIR)/Utilities/Doxygen/doxygen.config
+	doxygen $(DEB_BUILDDIR)/Utilities/Doxygen/doxygen.config
 
 common-build-arch::
 	echo "$(pkg_tcl): non-dev-pkg-with-shlib-symlink" > debian/$(pkg_tcl).lintian-overrides
@@ -83,6 +86,9 @@
 	find debian/$(pkg_examples)/usr/share/doc/$(pkg_examples)/examples \
 	    -type f -print0 | xargs -0 chmod 644
 
+install/$(pkg_doc)::
+	dh_install -p$(pkg_doc) $(DEB_BUILDDIR)/Utilities/Doxygen/html /usr/share/doc/$(pkg_doc)
+
 $(UPSTREAM_SRC).tar.gz:
 	wget http://voxel.dl.sourceforge.net/sourceforge/itk/$@
 




More information about the debian-med-commit mailing list