[med-svn] r20253 - trunk/packages/gdcm/prepare-2.6/debian/patches

Gert Wollny gert-guest at moszumanska.debian.org
Fri Oct 16 19:35:26 UTC 2015


Author: gert-guest
Date: 2015-10-16 19:35:25 +0000 (Fri, 16 Oct 2015)
New Revision: 20253

Added:
   trunk/packages/gdcm/prepare-2.6/debian/patches/add-csharp-keyfile-from-commandline.patch
Modified:
   trunk/packages/gdcm/prepare-2.6/debian/patches/series
Log:
Add patch to set c-sharp keyfile from command line

Added: trunk/packages/gdcm/prepare-2.6/debian/patches/add-csharp-keyfile-from-commandline.patch
===================================================================
--- trunk/packages/gdcm/prepare-2.6/debian/patches/add-csharp-keyfile-from-commandline.patch	                        (rev 0)
+++ trunk/packages/gdcm/prepare-2.6/debian/patches/add-csharp-keyfile-from-commandline.patch	2015-10-16 19:35:25 UTC (rev 20253)
@@ -0,0 +1,24 @@
+diff -ru gdcm-2.6.0.old/Wrapping/Csharp/AssemblyInfo.cs.in gdcm-2.6.0/Wrapping/Csharp/AssemblyInfo.cs.in
+--- gdcm-2.6.0.old/Wrapping/Csharp/AssemblyInfo.cs.in	2015-09-03 16:42:12.000000000 +0200
++++ gdcm-2.6.0/Wrapping/Csharp/AssemblyInfo.cs.in	2015-10-16 21:31:58.224804457 +0200
+@@ -70,7 +70,7 @@
+ // This is not required, if you don't want signing let these attributes like they're.
+ [assembly: AssemblyDelaySign(false)]
+ // http://msdn.microsoft.com/en-us/library/6f05ezxy(VS.80).aspx
+-[assembly: AssemblyKeyFile("key.snk")]
++//[assembly: AssemblyKeyFile("key.snk")]
+ //[assembly: AssemblyKeyFile("")]
+ //[assembly: AssemblyKeyName("GDCM Key")]
+ //[assembly: AssemblyKeyName("")]
+diff -ru gdcm-2.6.0.old/Wrapping/Csharp/CMakeLists.txt gdcm-2.6.0/Wrapping/Csharp/CMakeLists.txt
+--- gdcm-2.6.0.old/Wrapping/Csharp/CMakeLists.txt	2015-09-03 16:42:12.000000000 +0200
++++ gdcm-2.6.0/Wrapping/Csharp/CMakeLists.txt	2015-10-16 21:32:17.624490442 +0200
+@@ -69,7 +69,7 @@
+ 
+   add_custom_command(
+     OUTPUT ${GDCM_LIBRARY_DIR}/gdcm-sharp.dll
+-    COMMAND ${CMAKE_CSHARP_COMPILER} ARGS "/t:library" "/doc:${GDCM_LIBRARY_DIR}/gdcm-sharp.dll.xml" "/out:${GDCM_LIBRARY_DIR}/gdcm-sharp.dll" "*.cs"
++    COMMAND ${CMAKE_CSHARP_COMPILER} ARGS "/t:library" "/doc:${GDCM_LIBRARY_DIR}/gdcm-sharp.dll.xml" "/out:${GDCM_LIBRARY_DIR}/gdcm-sharp.dll" "*.cs" "/keyfile:key.snk"
+     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+     DEPENDS "${swig_generated_file_fullname}"
+     ${CMAKE_CURRENT_BINARY_DIR}/AssemblyInfo.cs

Modified: trunk/packages/gdcm/prepare-2.6/debian/patches/series
===================================================================
--- trunk/packages/gdcm/prepare-2.6/debian/patches/series	2015-10-16 18:18:29 UTC (rev 20252)
+++ trunk/packages/gdcm/prepare-2.6/debian/patches/series	2015-10-16 19:35:25 UTC (rev 20253)
@@ -3,3 +3,4 @@
 linkvtkdoc.patch
 multiarch.patch
 enable-vtk6-bindings.patch
+add-csharp-keyfile-from-commandline.patch




More information about the debian-med-commit mailing list