Author: promayon-guest Date: 2012-07-17 20:56:11 +0000 (Tue, 17 Jul 2012) New Revision: 11823
Modified: trunk/packages/camitk/trunk/debian/changelog trunk/packages/camitk/trunk/debian/control trunk/packages/camitk/trunk/debian/rules trunk/packages/camitk/trunk/debian/watch Log: init packaging (mainly thanks to Mathieu Malaterre) Modified: trunk/packages/camitk/trunk/debian/changelog =================================================================== --- trunk/packages/camitk/trunk/debian/changelog 2012-07-17 15:43:23 UTC (rev 11822) +++ trunk/packages/camitk/trunk/debian/changelog 2012-07-17 20:56:11 UTC (rev 11823) @@ -1,4 +1,4 @@ -camitk (3.0.1-1) UNRELEASED; urgency=low +camitk (3.0.2-1) UNRELEASED; urgency=low * Initial release (Closes: #<bug>) Modified: trunk/packages/camitk/trunk/debian/control =================================================================== --- trunk/packages/camitk/trunk/debian/control 2012-07-17 15:43:23 UTC (rev 11822) +++ trunk/packages/camitk/trunk/debian/control 2012-07-17 20:56:11 UTC (rev 11823) @@ -11,15 +11,15 @@ Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/camitk/trunk/ Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/camitk/trunk/ -Package: libcamitk-tools +Package: imp Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} -Description: Computer Assisted Medical Intervention Tool Kit - Helps researchers and clinicians to easily and rapidly collaborate in +Description: imp is the flagship application of the Computer Assisted Medical Intervention Tool Kit + CamiTK Helps researchers and clinicians to easily and rapidly collaborate in order to prototype CAMI applications, that feature medical images, surgical navigation and biomechanical simulations. . - This is the app + imp is the camitk flagship application. Package: libcamitk3.0 Architecture: any @@ -29,7 +29,7 @@ order to prototype CAMI applications, that feature medical images, surgical navigation and biomechanical simulations. . - This is the lib + This is the lib. Package: libcamitk3-dev Architecture: any @@ -39,4 +39,14 @@ order to prototype CAMI applications, that feature medical images, surgical navigation and biomechanical simulations. . - This is the dev + This is the headers, static lib and camitk wizard. + +Package: libcamitk3-doc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Computer Assisted Medical Intervention Tool Kit + Helps researchers and clinicians to easily and rapidly collaborate in + order to prototype CAMI applications, that feature medical images, + surgical navigation and biomechanical simulations. + . + This is the API documentation. \ No newline at end of file Modified: trunk/packages/camitk/trunk/debian/rules =================================================================== --- trunk/packages/camitk/trunk/debian/rules 2012-07-17 15:43:23 UTC (rev 11822) +++ trunk/packages/camitk/trunk/debian/rules 2012-07-17 20:56:11 UTC (rev 11823) @@ -7,28 +7,56 @@ CMAKE_EXTRA_FLAGS = \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ - -DCAMITK_INSTALL_ROOT=/usr + -DCAMITK_INSTALL_ROOT:PATH=/usr \ + -DTOOL_LML:BOOL=TRUE \ + -DTOOL_PML:BOOL=TRUE \ + -DTOOL_MML:BOOL=TRUE \ + -DMML_GENERATE_XSD_LIB:BOOL=TRUE \ + -DACTION_ITKSEGMENTATION:BOOL=TRUE \ + -DACTION_ITKFILTERS:BOOL=TRUE \ + -DAPPLICATION_WIZARD:BOOL=TRUE \ + -DCOMPONENT_VTKMESH:BOOL=TRUE \ + -DCOMPONENT_DICOM:BOOL=TRUE \ + -DCOMPONENT_ITKIMAGE:BOOL=TRUE \ + -DCOMPONENT_PHYSICALMODEL:BOOL=TRUE \ + -DCOMPONENT_MML:BOOL=TRUE \ + -DAPIDOC_GENERATE_FOR_CAMITK_CORE:BOOL=TRUE %: dh $@ --parallel override_dh_auto_configure: dh_auto_configure -- $(CMAKE_EXTRA_FLAGS) + dh_auto_configure -- $(CMAKE_EXTRA_FLAGS) SOVERSION=3.0 VER_MAJOR=3 pkg_lib = libcamitk$(SOVERSION) -pkg_dev = libcamitk$(VER_MAJOR)-dev -pkg_app = libcamitk-tools +pkg_dev = libcamitk$(VER_MAJOR)-dev +pkg_app = imp +pkg_doc = libcamitk-doc +override_dh_auto_build: + dh_auto_build + if grep -q "^Package: libcamitk3-doc$$" debian/control ; then \ + cd obj* ; \ + make apidoc ; \ + fi + override_dh_install: - dh_install -p$(pkg_app) debian/tmp/usr/bin usr/bin - #dh_install -p$(pkg_lib) debian/tmp/usr/lib/lib*.so.* usr/lib # FIXME - dh_install -p$(pkg_dev) debian/tmp/usr/lib/lib*.so usr/lib + dh_install -p$(pkg_app) debian/tmp/usr/bin/imp + dh_install -p$(pkg_app) --autodest debian/tmp/usr/share/camitk-$(SOVERSION)/testdata + dh_install -p$(pkg_lib) debian/tmp/usr/lib/lib*.so.* usr/lib + dh_install -p$(pkg_lib) --autodest debian/tmp/usr/lib/camitk-$(SOVERSION)/actions/lib*.so + dh_install -p$(pkg_lib) --autodest debian/tmp/usr/lib/camitk-$(SOVERSION)/components/lib*.so + dh_install -p$(pkg_dev) debian/tmp/usr/lib/lib*.so usr/lib + dh_install -p$(pkg_dev) debian/tmp/usr/bin/wizard + dh_install -p$(pkg_dev) --autodest debian/tmp/usr/lib/camitk-$(SOVERSION)/lib*.a dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include dh_install -p$(pkg_dev) --autodest debian/tmp/usr/share/camitk-$(SOVERSION)/cmake/*.cmake - + dh_install -p$(pkg_doc) --autodest debian/tmp/usr/share/camitk-$(SOVERSION)/apidoc + # see http://lists.debian.org/debian-mentors/2012/07/msg00124.html get-orig-source: PERL_LWP_SSL_VERIFY_HOSTNAME=0 uscan --rename --verbose --force-download --destdir=../tarballs Modified: trunk/packages/camitk/trunk/debian/watch =================================================================== --- trunk/packages/camitk/trunk/debian/watch 2012-07-17 15:43:23 UTC (rev 11822) +++ trunk/packages/camitk/trunk/debian/watch 2012-07-17 20:56:11 UTC (rev 11823) @@ -1,6 +1,6 @@ version=3 http://camitk.imag.fr/download_source.xml \ - https://forge.imag.fr/frs/download.php/[\d]+/camitk-([\d.]+)-Source\.tar\.gz + https://forge.imag.fr/frs/download.php/[\d]+/camitk-([\d.]+)\.tar\.gz ## https://forge.imag.fr/frs/?group_id=184 \ # https://forge.imag.fr/frs/?group_id=184 failed: 500 Can't connect to forge.imag.fr:443 (certificate verify failed) _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
