Author: smr Date: 2010-04-05 06:46:15 +0000 (Mon, 05 Apr 2010) New Revision: 4714
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/control.in trunk/packages/insighttoolkit/trunk/debian/rules Log: Preliminary support for Java bindings. More to do; c.f. http://lists.debian.org/debian-java/2010/04/msg00004.html Modified: trunk/packages/insighttoolkit/trunk/debian/CMakeCache.txt.debian =================================================================== --- trunk/packages/insighttoolkit/trunk/debian/CMakeCache.txt.debian 2010-04-05 01:44:29 UTC (rev 4713) +++ trunk/packages/insighttoolkit/trunk/debian/CMakeCache.txt.debian 2010-04-05 06:46:15 UTC (rev 4714) @@ -34,7 +34,7 @@ CMAKE_SKIP_RPATH:BOOL=ON //Build cswig Java wrapper support -ITK_CSWIG_JAVA:BOOL=OFF +ITK_CSWIG_JAVA:BOOL=ON //Build cswig Python wrapper support (requires CableSwig). ITK_CSWIG_PYTHON:BOOL=ON Modified: trunk/packages/insighttoolkit/trunk/debian/changelog =================================================================== --- trunk/packages/insighttoolkit/trunk/debian/changelog 2010-04-05 01:44:29 UTC (rev 4713) +++ trunk/packages/insighttoolkit/trunk/debian/changelog 2010-04-05 06:46:15 UTC (rev 4714) @@ -1,3 +1,9 @@ +insighttoolkit (3.16.0-2) unstable; urgency=low + + * Add Java bindings (thanks, Michal Suchanek). Closes: #572132. + + -- Steve M. Robbins <[email protected]> Mon, 05 Apr 2010 01:44:23 -0500 + insighttoolkit (3.16.0-1) unstable; urgency=low * New upstream. Modified: trunk/packages/insighttoolkit/trunk/debian/control =================================================================== --- trunk/packages/insighttoolkit/trunk/debian/control 2010-04-05 01:44:29 UTC (rev 4713) +++ trunk/packages/insighttoolkit/trunk/debian/control 2010-04-05 06:46:15 UTC (rev 4714) @@ -10,7 +10,8 @@ python-support (>= 0.6.4), python-dev, libfftw3-dev, tcl8.4-dev, tk8.4-dev, uuid-dev, libgdcm2-dev, libjpeg62-dev, libfreetype6-dev, libopenjpeg-dev, graphviz, - libxext-dev, libxss-dev, libxft-dev, libpoppler-dev, libssl-dev + libxext-dev, libxss-dev, libxft-dev, libpoppler-dev, libssl-dev, + default-jdk (>= 1.6-34) XS-Python-Version: current Standards-Version: 3.8.3 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/insighttoolkit/trunk/?rev=0&sc=0 @@ -33,6 +34,41 @@ . This package contains the libraries needed to run ITK applications. +Package: libinsighttoolkit3-java +Section: java +Architecture: all +Depends: ${misc:Depends}, libinsighttoolkit3-jni, java2-runtime +Description: Image processing toolkit for registration and segmentation - Java bindings + 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 Java language bindings for ITK. + +Package: libinsighttoolkit3-jni +Section: java +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Image processing toolkit for registration and segmentation - JNI + 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 Java Native Interface layer used by the java + language bindings for ITK. + Package: python-insighttoolkit3 Section: python Architecture: any Modified: trunk/packages/insighttoolkit/trunk/debian/control.in =================================================================== --- trunk/packages/insighttoolkit/trunk/debian/control.in 2010-04-05 01:44:29 UTC (rev 4713) +++ trunk/packages/insighttoolkit/trunk/debian/control.in 2010-04-05 06:46:15 UTC (rev 4714) @@ -10,7 +10,8 @@ python-support (>= 0.6.4), python-dev, libfftw3-dev, tcl8.4-dev, tk8.4-dev, uuid-dev, libgdcm2-dev, libjpeg62-dev, libfreetype6-dev, libopenjpeg-dev, graphviz, - libxext-dev, libxss-dev, libxft-dev, libpoppler-dev, libssl-dev + libxext-dev, libxss-dev, libxft-dev, libpoppler-dev, libssl-dev, + default-jdk (>= 1.6-34) XS-Python-Version: current Standards-Version: 3.8.3 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/insighttoolkit/trunk/?rev=0&sc=0 @@ -33,6 +34,41 @@ . This package contains the libraries needed to run ITK applications. +Package: libinsighttool...@ver_major@-java +Section: java +Architecture: all +Depends: ${misc:Depends}, libinsighttool...@ver_major@-jni, java2-runtime +Description: Image processing toolkit for registration and segmentation - Java bindings + 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 Java language bindings for ITK. + +Package: libinsighttool...@ver_major@-jni +Section: java +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Image processing toolkit for registration and segmentation - JNI + 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 Java Native Interface layer used by the java + language bindings for ITK. + Package: python-insighttool...@ver_major@ Section: python Architecture: any Modified: trunk/packages/insighttoolkit/trunk/debian/rules =================================================================== --- trunk/packages/insighttoolkit/trunk/debian/rules 2010-04-05 01:44:29 UTC (rev 4713) +++ trunk/packages/insighttoolkit/trunk/debian/rules 2010-04-05 06:46:15 UTC (rev 4714) @@ -17,10 +17,14 @@ pkg_lib = libinsighttoolkit$(SOVERSION) pkg_dev = libinsighttoolkit$(VER_MAJOR)-dev +pkg_java = libinsighttoolkit$(VER_MAJOR)-java +pkg_jni = libinsighttoolkit$(VER_MAJOR)-jni pkg_python = python-insighttoolkit$(VER_MAJOR) pkg_tcl = tcl8.4-insighttoolkit$(VER_MAJOR) pkg_examples = insighttoolkit$(VER_MAJOR)-examples +export JAVA_HOME=/usr/lib/jvm/default-java + PYVERS = $(shell pyversions -r debian/control) PYMODDIR = usr/lib/$(PYVERS)/site-packages PYEXTDIR = $(PYMODDIR) @@ -68,15 +72,21 @@ dh_lintian install/$(pkg_lib):: - dh_install -p$(pkg_lib) -XPython -XTcl debian/tmp/usr/lib/InsightToolkit/lib*.so.* usr/lib + dh_install -p$(pkg_lib) -XJava -XPython -XTcl debian/tmp/usr/lib/InsightToolkit/lib*.so.* usr/lib install/$(pkg_dev):: dh_installman -p$(pkg_dev) debian/insighttoolkit.3 dh_installdocs -p$(pkg_dev) Documentation/* - dh_install -p$(pkg_dev) -XPython -XTcl debian/tmp/usr/lib/InsightToolkit/lib*.so usr/lib + dh_install -p$(pkg_dev) -XJava -XPython -XTcl debian/tmp/usr/lib/InsightToolkit/lib*.so usr/lib dh_install -p$(pkg_dev) --autodest debian/tmp/usr/include/InsightToolkit/* dh_install -p$(pkg_dev) --autodest debian/tmp/usr/lib/InsightToolkit/*.cmake +install/$(pkg_java):: + dh_install -p$(pkg_java) debian/tmp/usr/lib/InsightToolkit/*.jar usr/share/java + +install/$(pkg_jni):: + dh_install -p$(pkg_jni) debian/tmp/usr/lib/InsightToolkit/*Java.so* usr/lib/jni + install/$(pkg_python):: dh_install -p$(pkg_python) -XlibSwig debian/tmp/usr/lib/InsightToolkit/*Python.so* $(PYEXTDIR) dh_install -p$(pkg_python) debian/tmp/usr/lib/InsightToolkit/libSwigRuntimePython.so* usr/lib _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/debian-med-commit
