[med-svn] r17364 - trunk/packages/vtk-dicom/trunk/debian/patches

Mathieu Malaterre malat at moszumanska.debian.org
Mon Jun 30 13:38:45 UTC 2014


Author: malat
Date: 2014-06-30 13:38:45 +0000 (Mon, 30 Jun 2014)
New Revision: 17364

Added:
   trunk/packages/vtk-dicom/trunk/debian/patches/manifest.patch
Modified:
   trunk/packages/vtk-dicom/trunk/debian/patches/series
Log:
fix java binding

Added: trunk/packages/vtk-dicom/trunk/debian/patches/manifest.patch
===================================================================
--- trunk/packages/vtk-dicom/trunk/debian/patches/manifest.patch	                        (rev 0)
+++ trunk/packages/vtk-dicom/trunk/debian/patches/manifest.patch	2014-06-30 13:38:45 UTC (rev 17364)
@@ -0,0 +1,19 @@
+Description: need to reference vtk.jar
+Author: Mathieu Malaterre <malat at debian.org>
+Forwarded: yes
+
+--- vtk-dicom-0.5.0.orig/CMakeLists.txt
++++ vtk-dicom-0.5.0/CMakeLists.txt
+@@ -468,7 +468,7 @@ if(BUILD_JAVA_WRAPPERS)
+     COMMENT "Compiling Java Classes"
+     )
+   add_custom_command(
+-    COMMAND ${JAVA_ARCHIVE} -cvf  "${VTK_JAR_PATH}/vtkdicom.jar"
++    COMMAND ${JAVA_ARCHIVE} -cvfm "${VTK_JAR_PATH}/vtkdicom.jar" ${CMAKE_CURRENT_SOURCE_DIR}/manifest.txt
+     -C ${CMAKE_CURRENT_BINARY_DIR}/java
+     vtk
+     DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/java/javac_stamp.txt ${JAVA_LIBRARIES}
+--- /dev/null
++++ vtk-dicom-0.5.0/manifest.txt
+@@ -0,0 +1 @@
++Class-Path: vtk.jar

Modified: trunk/packages/vtk-dicom/trunk/debian/patches/series
===================================================================
--- trunk/packages/vtk-dicom/trunk/debian/patches/series	2014-06-30 13:33:26 UTC (rev 17363)
+++ trunk/packages/vtk-dicom/trunk/debian/patches/series	2014-06-30 13:38:45 UTC (rev 17364)
@@ -1,3 +1,4 @@
 51c53d2537d4fefec5c3e7b8545609079723e112.patch
 underlink.patch
 typo.patch
+manifest.patch




More information about the debian-med-commit mailing list