[med-svn] r3493 - trunk/packages/gdcm/trunk/debian

Mathieu Malaterre malat-guest at alioth.debian.org
Tue Jun 16 10:35:08 UTC 2009


Author: malat-guest
Date: 2009-06-16 10:35:07 +0000 (Tue, 16 Jun 2009)
New Revision: 3493

Modified:
   trunk/packages/gdcm/trunk/debian/README.Debian
   trunk/packages/gdcm/trunk/debian/rules
Log:
update doc

Modified: trunk/packages/gdcm/trunk/debian/README.Debian
===================================================================
--- trunk/packages/gdcm/trunk/debian/README.Debian	2009-06-16 08:40:09 UTC (rev 3492)
+++ trunk/packages/gdcm/trunk/debian/README.Debian	2009-06-16 10:35:07 UTC (rev 3493)
@@ -6,4 +6,18 @@
 provide the library, static and headers for the library, and debug symbols for
 the shared library.
 
+C#:
+In order to use GDCM C#, you can use:
+$ gmcs ReformatFile.cs /r:/usr/lib/libgdcm-cil/gdcm-sharp.dll
+$ MONO_PATH=/usr/lib/libgdcm-cil/ LD_LIBRARY_PATH=/usr/lib/libgdcm-cil/  mono ReformatFile.exe  input.dcm output.dcm
+
+where ReformatFile.cs is an example taken from the src tarball of gdcm (Examples subdir)
+
+Java side:
+gdcm.jar will automatically load the jni glue lib (currently called gdcmjni.so), but programmer are 
+still required to change the value of LD_LIBRARY_PATH and CLASSPATH:
+
+$ javac HelloSimple.java -classpath /usr/share/java/gdcm.jar
+$ LD_LIBRARY_PATH=/usr/lib/jni/ java HelloSimple -classpath /usr/share/java/gdcm.jar:.
+
 - Mathieu Malaterre.

Modified: trunk/packages/gdcm/trunk/debian/rules
===================================================================
--- trunk/packages/gdcm/trunk/debian/rules	2009-06-16 08:40:09 UTC (rev 3492)
+++ trunk/packages/gdcm/trunk/debian/rules	2009-06-16 10:35:07 UTC (rev 3493)
@@ -153,6 +153,7 @@
 	dh_fixperms
 #	dh_perl
 	dh_pysupport
+#	dh_makeclilibs 
 	dh_makeshlibs -Xformats -V
 	dh_installdeb
 	dh_shlibdeps




More information about the debian-med-commit mailing list