Author: promayon-guest Date: 2012-07-19 10:15:54 +0000 (Thu, 19 Jul 2012) New Revision: 11829
Modified: trunk/packages/camitk/trunk/debian/control trunk/packages/camitk/trunk/debian/copyright trunk/packages/camitk/trunk/debian/rules Log: - renamed imp package to camitk3-imp (FIX http://lists.alioth.debian.org/pipermail/debian-med-packaging/2012-July/016438.html) - all camitk applications are now prefixed with camitk- to avoid name conflict (FIX http://lists.alioth.debian.org/pipermail/debian-med-packaging/2012-July/016441.html) - updated build depends and specify version more precisely - plugins don't have SONAMEs (thanks to Mathieu Malaterre again) - added new package camitk-data containing only test data in ach:all Modified: trunk/packages/camitk/trunk/debian/control =================================================================== --- trunk/packages/camitk/trunk/debian/control 2012-07-18 17:47:04 UTC (rev 11828) +++ trunk/packages/camitk/trunk/debian/control 2012-07-19 10:15:54 UTC (rev 11829) @@ -3,8 +3,8 @@ Priority: optional Maintainer: Debian Med Packaging Team <[email protected]> DM-Upload-Allowed: yes -Uploaders: Andreas Tille <[email protected]>, Mathieu Malaterre <[email protected]> -Build-Depends: debhelper (>= 9), cmake, libvtk5-dev, libqt4-dev, libvtk5-qt4-dev, xsdcxx, libinsighttoolkit3-dev, libxerces-c-dev, libxml2-dev +Uploaders: Andreas Tille <[email protected]>, Mathieu Malaterre <[email protected]>, Emmanuel Promayon <[email protected]> +Build-Depends: debhelper (>= 9), cmake (>= 2.6), libvtk5-dev (>= 5.6), libqt4-dev (>= 4.6), libvtk5-qt4-dev (>= 5.6), xsdcxx (>= 3.2), libinsighttoolkit3-dev (>= 3.18), libxerces-c-dev (>= 3.1), libxml2-dev (>= 2.7), libgdcm2-dev (>= 2.0) Build-Depends-Indep: doxygen, graphviz Standards-Version: 3.9.3 Homepage: http://camitk.imag.fr/ @@ -12,30 +12,20 @@ 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: imp +Package: libcamitk3 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} -Description: 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. - . - imp is the camitk flagship application. - -Package: libcamitk3.0 -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} Description: Computer Assisted Medical Intervention Tool Kit - runtime Helps researchers and clinicians to easily and rapidly collaborate in order to prototype CAMI applications, that feature medical images, - surgical navigation and biomechanical simulations. + surgical navigation and biomechanical simulations. . - This package contains the libraries needed to run CamiTK applications. + This package contains the shared libraries needed to run CamiTK applications. Package: libcamitk3-dev Architecture: any Section: libdevel -Depends: libcamitk3.0 (= ${binary:Version}), ${misc:Depends} +Depends: libcamitk3 (= ${binary:Version}), ${misc:Depends} Description: Computer Assisted Medical Intervention Tool Kit - development Helps researchers and clinicians to easily and rapidly collaborate in order to prototype CAMI applications, that feature medical images, @@ -44,6 +34,17 @@ This package contains development files needed to build CamiTK applications. This package also provides the camitk wizard. +Package: libcamitk3-data +Architecture: all +Section: doc +Depends: ${misc:Depends} +Description: Computer Assisted Medical Intervention Tool Kit - documentation + 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 package contains the documentation for CamiTK. + Package: libcamitk3-doc Architecture: all Section: doc @@ -54,3 +55,13 @@ surgical navigation and biomechanical simulations. . This package contains the documentation for CamiTK. + +Package: camitk3-imp +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Flagship application for 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. + . + imp is the CamiTK flagship application. Modified: trunk/packages/camitk/trunk/debian/copyright =================================================================== --- trunk/packages/camitk/trunk/debian/copyright 2012-07-18 17:47:04 UTC (rev 11828) +++ trunk/packages/camitk/trunk/debian/copyright 2012-07-19 10:15:54 UTC (rev 11829) @@ -5,7 +5,7 @@ Source: https://forge.imag.fr/frs/?group_id=184 Files: * -Copyright: © 20xx-2012 <upstream> FIXME +Copyright: © 2001-2012 <upstream> License: LGPL-3+ Files: debian/* Modified: trunk/packages/camitk/trunk/debian/rules =================================================================== --- trunk/packages/camitk/trunk/debian/rules 2012-07-18 17:47:04 UTC (rev 11828) +++ trunk/packages/camitk/trunk/debian/rules 2012-07-19 10:15:54 UTC (rev 11829) @@ -8,8 +8,10 @@ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ -DCAMITK_INSTALL_ROOT:PATH=/usr \ + -DTOOL_CORESCHEMA:BOOL=ON \ -DTOOL_LML:BOOL=TRUE \ -DTOOL_PML:BOOL=TRUE \ + -DMML_GENERATE_GUI:BOOL=ON \ -DTOOL_MML:BOOL=TRUE \ -DMML_GENERATE_XSD_LIB:BOOL=TRUE \ -DACTION_ITKSEGMENTATION:BOOL=TRUE \ @@ -27,15 +29,16 @@ override_dh_auto_configure: dh_auto_configure -- $(CMAKE_EXTRA_FLAGS) - dh_auto_configure -- $(CMAKE_EXTRA_FLAGS) -SOVERSION=3.0 VER_MAJOR=3 +VER_MINOR=0 +VER_SHORT=$(VER_MAJOR).$(VER_MINOR) -pkg_lib = libcamitk$(SOVERSION) -pkg_dev = libcamitk$(VER_MAJOR)-dev -pkg_app = imp -pkg_doc = libcamitk-doc +pkg_lib = libcamitk$(VER_MAJOR) +pkg_dev = libcamitk$(VER_MAJOR)-dev +pkg_data = libcamitk$(VER_MAJOR)-data +pkg_doc = libcamitk$(VER_MAJOR)-doc +pkg_imp = camitk$(VER_MAJOR)-imp # let's be smart with doc override_dh_auto_build-indep: @@ -45,17 +48,28 @@ override_dh_auto_test-indep: override_dh_install: - dh_install -p$(pkg_app) debian/tmp/usr/bin/imp - dh_install -p$(pkg_app) --autodest debian/tmp/usr/share/camitk-$(SOVERSION)/testdata + # camitk dynamic library 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_lib) --autodest debian/tmp/usr/lib/camitk-$(VER_SHORT)/actions/lib*.so + dh_install -p$(pkg_lib) --autodest debian/tmp/usr/lib/camitk-$(VER_SHORT)/components/lib*.so + + # camitk headers and static libs + wizard 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) debian/tmp/usr/bin/camitk-wizard + dh_install -p$(pkg_dev) --autodest debian/tmp/usr/lib/camitk-$(VER_SHORT)/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 + dh_install -p$(pkg_dev) --autodest debian/tmp/usr/share/camitk-$(VER_SHORT)/cmake/*.cmake +#dh_installman -p$(pgk_dev) applications/wizard/camitk-wizard.1 + + # api doc + dh_install -p$(pkg_doc) --autodest debian/tmp/usr/share/camitk-$(VER_SHORT)/apidoc + + # all test data + dh_install -p$(pkg_data) --autodest debian/tmp/usr/share/camitk-$(VER_SHORT)/testdata + + # imp + dh_install -p$(pkg_imp) debian/tmp/usr/bin/camitk-imp +#dh_installman -p$(pgk_imp) applications/imp/camitk-imp.1 # see http://lists.debian.org/debian-mentors/2012/07/msg00124.html get-orig-source: _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
