r35593 - in /packages/slicer/trunk/debian: patches/50_all_changes.dpatch rules

domibel-guest at users.alioth.debian.org domibel-guest at users.alioth.debian.org
Thu Mar 19 21:50:42 UTC 2009


Author: domibel-guest
Date: Thu Mar 19 21:50:41 2009
New Revision: 35593

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=35593
Log:
added a few soname version numbers

Modified:
    packages/slicer/trunk/debian/patches/50_all_changes.dpatch
    packages/slicer/trunk/debian/rules

Modified: packages/slicer/trunk/debian/patches/50_all_changes.dpatch
URL: http://svn.debian.org/wsvn/debian-science/packages/slicer/trunk/debian/patches/50_all_changes.dpatch?rev=35593&op=diff
==============================================================================
--- packages/slicer/trunk/debian/patches/50_all_changes.dpatch (original)
+++ packages/slicer/trunk/debian/patches/50_all_changes.dpatch Thu Mar 19 21:50:41 2009
@@ -6,8 +6,8 @@
 
 @DPATCH@
 diff -urNad slicer-3.3.0~svn8902~/Applications/CLI/CMakeLists.txt slicer-3.3.0~svn8902/Applications/CLI/CMakeLists.txt
---- slicer-3.3.0~svn8902~/Applications/CLI/CMakeLists.txt	2009-03-19 02:54:19.000000000 +0000
-+++ slicer-3.3.0~svn8902/Applications/CLI/CMakeLists.txt	2009-03-19 04:08:50.000000000 +0000
+--- slicer-3.3.0~svn8902~/Applications/CLI/CMakeLists.txt	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/Applications/CLI/CMakeLists.txt	2009-03-19 20:34:36.000000000 +0000
 @@ -570,7 +570,7 @@
  # subdirs( EndoNavTracking )
  subdirs( ExtractSkeleton )
@@ -18,8 +18,8 @@
  #subdirs( UtahBSpline )
  subdirs( DiffeomorphicDemonsRegistration )
 diff -urNad slicer-3.3.0~svn8902~/Applications/GUI/CMakeLists.txt slicer-3.3.0~svn8902/Applications/GUI/CMakeLists.txt
---- slicer-3.3.0~svn8902~/Applications/GUI/CMakeLists.txt	2009-03-19 04:07:41.000000000 +0000
-+++ slicer-3.3.0~svn8902/Applications/GUI/CMakeLists.txt	2009-03-19 04:08:33.000000000 +0000
+--- slicer-3.3.0~svn8902~/Applications/GUI/CMakeLists.txt	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/Applications/GUI/CMakeLists.txt	2009-03-19 20:34:36.000000000 +0000
 @@ -95,8 +95,10 @@
  # --------------------------------------------------------------------------
  # Find SLICERLIBCURL (slicercurl)
@@ -33,9 +33,39 @@
  
  # --------------------------------------------------------------------------
  # Include dirs
+diff -urNad slicer-3.3.0~svn8902~/Base/CLI/CMakeLists.txt slicer-3.3.0~svn8902/Base/CLI/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Base/CLI/CMakeLists.txt	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/Base/CLI/CMakeLists.txt	2009-03-19 20:34:36.000000000 +0000
+@@ -58,6 +58,11 @@
+ slicer3_get_persistent_property(Slicer3_Base_LIBRARIES tmp)
+ slicer3_set_persistent_property(Slicer3_Base_LIBRARIES ${tmp} SlicerBaseCLI)
+ 
++SET_TARGET_PROPERTIES(SlicerBaseCLI PROPERTIES
++  SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++  VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ install(TARGETS SlicerBaseCLI
+   RUNTIME DESTINATION ${Slicer3_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries 
+   LIBRARY DESTINATION ${Slicer3_INSTALL_LIB_DIR} COMPONENT RuntimeLibraries
+diff -urNad slicer-3.3.0~svn8902~/Base/Logic/CMakeLists.txt slicer-3.3.0~svn8902/Base/Logic/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Base/Logic/CMakeLists.txt	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/Base/Logic/CMakeLists.txt	2009-03-19 20:34:36.000000000 +0000
+@@ -115,6 +115,11 @@
+ slicer3_get_persistent_property(Slicer3_Base_LIBRARIES tmp)
+ slicer3_set_persistent_property(Slicer3_Base_LIBRARIES ${tmp} ${lib_name})
+ 
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++  SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++  VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ install(TARGETS ${lib_name}
+   RUNTIME DESTINATION ${Slicer3_INSTALL_BIN_DIR} COMPONENT RuntimeLibraries 
+   LIBRARY DESTINATION ${Slicer3_INSTALL_LIB_DIR} COMPONENT RuntimeLibraries
 diff -urNad slicer-3.3.0~svn8902~/CMakeLists.txt slicer-3.3.0~svn8902/CMakeLists.txt
---- slicer-3.3.0~svn8902~/CMakeLists.txt	2009-03-19 04:07:41.000000000 +0000
-+++ slicer-3.3.0~svn8902/CMakeLists.txt	2009-03-19 04:08:33.000000000 +0000
+--- slicer-3.3.0~svn8902~/CMakeLists.txt	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/CMakeLists.txt	2009-03-19 20:34:36.000000000 +0000
 @@ -27,6 +27,11 @@
  
  set(Slicer3_HOME "${Slicer3_BINARY_DIR}")
@@ -48,7 +78,17 @@
  #-----------------------------------------------------------------------------
  # Disable the warnings that DevStudio 2005 emits wrt to sprintf, strcpu, etc.
  #
-@@ -159,10 +164,15 @@
+@@ -60,6 +65,9 @@
+ set(Slicer3_VERSION "${Slicer3_VERSION_MAJOR}.${Slicer3_VERSION_MINOR}")
+ set(Slicer3_VERSION_FULL "${Slicer3_VERSION}.${Slicer3_VERSION_PATCH}")
+ 
++set ( Slicer3_SHAREDLIB_VERSION ${Slicer3_VERSION_FULL} )
++string ( REGEX MATCH "^[0-9]+" Slicer3_SHAREDLIB_SOVERSION ${Slicer3_SHAREDLIB_VERSION} )
++
+ #-----------------------------------------------------------------------------
+ # Build shared lib by default
+ #
+@@ -159,10 +167,15 @@
  include(${Teem_USE_FILE})
  
  ## SlicerLibCurl
@@ -68,9 +108,138 @@
   
  ## BatchMake
  option(Slicer3_USE_BatchMake "Build Slicer3 with BatchMake support." OFF)
+diff -urNad slicer-3.3.0~svn8902~/Libs/FreeSurfer/CMakeLists.txt slicer-3.3.0~svn8902/Libs/FreeSurfer/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Libs/FreeSurfer/CMakeLists.txt	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/FreeSurfer/CMakeLists.txt	2009-03-19 20:34:36.000000000 +0000
+@@ -68,9 +68,14 @@
+   vtkIOTCL
+   )
+ 
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++  SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++  VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ install(TARGETS ${lib_name}
+   RUNTIME DESTINATION bin COMPONENT RuntimeLibraries 
+-  LIBRARY DESTINATION lib/${PROJECT_NAME} COMPONENT RuntimeLibraries
++  LIBRARY DESTINATION lib COMPONENT RuntimeLibraries
+   ARCHIVE DESTINATION lib/${PROJECT_NAME} COMPONENT Development
+   )
+ 
+diff -urNad slicer-3.3.0~svn8902~/Libs/IGT/CMakeLists.txt slicer-3.3.0~svn8902/Libs/IGT/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Libs/IGT/CMakeLists.txt	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/IGT/CMakeLists.txt	2009-03-19 20:34:36.000000000 +0000
+@@ -139,9 +139,14 @@
+   ${TRACKING_INTERFACE_LIB}
+   )
+ 
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++  SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++  VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ install(TARGETS ${lib_name}
+   RUNTIME DESTINATION bin COMPONENT RuntimeLibraries 
+-  LIBRARY DESTINATION lib/${PROJECT_NAME} COMPONENT RuntimeLibraries
++  LIBRARY DESTINATION lib COMPONENT RuntimeLibraries
+   ARCHIVE DESTINATION lib/${PROJECT_NAME} COMPONENT Development
+   )
+ 
+diff -urNad slicer-3.3.0~svn8902~/Libs/LoadableModule/CMakeLists.txt slicer-3.3.0~svn8902/Libs/LoadableModule/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Libs/LoadableModule/CMakeLists.txt	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/LoadableModule/CMakeLists.txt	2009-03-19 20:34:36.000000000 +0000
+@@ -116,9 +116,14 @@
+ 
+ target_link_libraries(${lib_name} ${link_libs})
+ 
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++  SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++  VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ install(TARGETS ${lib_name} 
+   RUNTIME DESTINATION bin COMPONENT RuntimeLibraries
+-  LIBRARY DESTINATION lib/${PROJECT_NAME} COMPONENT RuntimeLibraries
++  LIBRARY DESTINATION lib COMPONENT RuntimeLibraries
+   ARCHIVE DESTINATION lib/${PROJECT_NAME} COMPONENT Development
+   )
+ 
+diff -urNad slicer-3.3.0~svn8902~/Libs/MGHImageIO/CMakeLists.txt slicer-3.3.0~svn8902/Libs/MGHImageIO/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Libs/MGHImageIO/CMakeLists.txt	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/MGHImageIO/CMakeLists.txt	2009-03-19 20:34:36.000000000 +0000
+@@ -59,9 +59,14 @@
+   ITKIO 
+ )
+ 
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++  SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++  VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ install(TARGETS ${lib_name} 
+   RUNTIME DESTINATION bin COMPONENT RuntimeLibraries
+-  LIBRARY DESTINATION lib/${PROJECT_NAME} COMPONENT RuntimeLibraries
++  LIBRARY DESTINATION lib COMPONENT RuntimeLibraries
+   ARCHIVE DESTINATION lib/${PROJECT_NAME} COMPONENT Development
+   )
+ 
+diff -urNad slicer-3.3.0~svn8902~/Libs/MRML/CMakeLists.txt slicer-3.3.0~svn8902/Libs/MRML/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Libs/MRML/CMakeLists.txt	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/MRML/CMakeLists.txt	2009-03-19 20:34:36.000000000 +0000
+@@ -237,6 +237,11 @@
+   endif(MRML_USE_vtkTeem)
+ endif(MRML_USE_Teem)
+ 
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++  SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++  VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ install(TARGETS ${lib_name}
+   RUNTIME DESTINATION bin COMPONENT RuntimeLibraries 
+   LIBRARY DESTINATION lib/${PROJECT_NAME} COMPONENT RuntimeLibraries
+diff -urNad slicer-3.3.0~svn8902~/Libs/ModuleDescriptionParser/CMakeLists.txt slicer-3.3.0~svn8902/Libs/ModuleDescriptionParser/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Libs/ModuleDescriptionParser/CMakeLists.txt	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/ModuleDescriptionParser/CMakeLists.txt	2009-03-19 20:34:36.000000000 +0000
+@@ -120,9 +120,14 @@
+ 
+ target_link_libraries(${lib_name} ${link_libs})
+ 
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++  SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++  VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ install(TARGETS ${lib_name} 
+   RUNTIME DESTINATION bin COMPONENT RuntimeLibraries
+-  LIBRARY DESTINATION lib/${PROJECT_NAME} COMPONENT RuntimeLibraries
++  LIBRARY DESTINATION lib COMPONENT RuntimeLibraries
+   ARCHIVE DESTINATION lib/${PROJECT_NAME} COMPONENT Development
+   )
+ 
+diff -urNad slicer-3.3.0~svn8902~/Libs/Qdec/CMakeLists.txt slicer-3.3.0~svn8902/Libs/Qdec/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Libs/Qdec/CMakeLists.txt	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/Qdec/CMakeLists.txt	2009-03-19 20:34:36.000000000 +0000
+@@ -76,9 +76,14 @@
+   #  vtkIOTCL
+   )
+ 
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++  SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++  VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ install(TARGETS ${lib_name}
+   RUNTIME DESTINATION bin COMPONENT RuntimeLibraries 
+-  LIBRARY DESTINATION lib/${PROJECT_NAME} COMPONENT RuntimeLibraries
++  LIBRARY DESTINATION lib COMPONENT RuntimeLibraries
+   ARCHIVE DESTINATION lib/${PROJECT_NAME} COMPONENT Development
+   )
+ 
 diff -urNad slicer-3.3.0~svn8902~/Libs/RemoteIO/CMakeLists.txt slicer-3.3.0~svn8902/Libs/RemoteIO/CMakeLists.txt
---- slicer-3.3.0~svn8902~/Libs/RemoteIO/CMakeLists.txt	2009-03-19 04:07:41.000000000 +0000
-+++ slicer-3.3.0~svn8902/Libs/RemoteIO/CMakeLists.txt	2009-03-19 04:08:33.000000000 +0000
+--- slicer-3.3.0~svn8902~/Libs/RemoteIO/CMakeLists.txt	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/RemoteIO/CMakeLists.txt	2009-03-19 20:34:36.000000000 +0000
 @@ -11,8 +11,11 @@
  find_package(ITK REQUIRED)
  include(${ITK_USE_FILE})
@@ -85,7 +254,7 @@
  
  # Disable MSVC 8 warnings
  if(WIN32)
-@@ -100,7 +103,7 @@
+@@ -100,13 +103,18 @@
    vtkIOTCL
    vtkCommonTCL
    itksys
@@ -94,9 +263,21 @@
    MRML
    )
  
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++  SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++  VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ install(TARGETS ${lib_name}
+   RUNTIME DESTINATION bin COMPONENT RuntimeLibraries 
+-  LIBRARY DESTINATION lib/${PROJECT_NAME} COMPONENT RuntimeLibraries
++  LIBRARY DESTINATION lib COMPONENT RuntimeLibraries
+   ARCHIVE DESTINATION lib/${PROJECT_NAME} COMPONENT Development
+   )
+ 
 diff -urNad slicer-3.3.0~svn8902~/Libs/RemoteIO/vtkHTTPHandler.h slicer-3.3.0~svn8902/Libs/RemoteIO/vtkHTTPHandler.h
---- slicer-3.3.0~svn8902~/Libs/RemoteIO/vtkHTTPHandler.h	2009-03-19 04:07:41.000000000 +0000
-+++ slicer-3.3.0~svn8902/Libs/RemoteIO/vtkHTTPHandler.h	2009-03-19 04:08:33.000000000 +0000
+--- slicer-3.3.0~svn8902~/Libs/RemoteIO/vtkHTTPHandler.h	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/RemoteIO/vtkHTTPHandler.h	2009-03-19 20:34:36.000000000 +0000
 @@ -5,7 +5,7 @@
  #pragma warning ( disable : 4786 )
  #endif
@@ -106,9 +287,47 @@
  
  #include <vtkRemoteIOConfigure.h>
  #include "vtkRemoteIO.h"
+diff -urNad slicer-3.3.0~svn8902~/Libs/vtkITK/CMakeLists.txt slicer-3.3.0~svn8902/Libs/vtkITK/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Libs/vtkITK/CMakeLists.txt	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/vtkITK/CMakeLists.txt	2009-03-19 20:34:36.000000000 +0000
+@@ -110,9 +110,14 @@
+   ITKDICOMParser
+   )
+ 
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++  SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++  VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ install(TARGETS ${lib_name}
+   RUNTIME DESTINATION bin COMPONENT RuntimeLibraries 
+-  LIBRARY DESTINATION lib/${PROJECT_NAME} COMPONENT RuntimeLibraries
++  LIBRARY DESTINATION lib COMPONENT RuntimeLibraries
+   ARCHIVE DESTINATION lib/${PROJECT_NAME} COMPONENT Development
+   )
+ 
+diff -urNad slicer-3.3.0~svn8902~/Libs/vtkTeem/CMakeLists.txt slicer-3.3.0~svn8902/Libs/vtkTeem/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Libs/vtkTeem/CMakeLists.txt	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/vtkTeem/CMakeLists.txt	2009-03-19 20:34:36.000000000 +0000
+@@ -111,9 +111,14 @@
+   ${Teem_LIBRARIES}
+   )
+ 
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++  SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++  VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ install(TARGETS ${lib_name}
+   RUNTIME DESTINATION bin COMPONENT RuntimeLibraries 
+-  LIBRARY DESTINATION lib/${PROJECT_NAME} COMPONENT RuntimeLibraries
++  LIBRARY DESTINATION lib COMPONENT RuntimeLibraries
+   ARCHIVE DESTINATION lib/${PROJECT_NAME} COMPONENT Development
+   )
+ 
 diff -urNad slicer-3.3.0~svn8902~/Modules/CMakeLists.txt slicer-3.3.0~svn8902/Modules/CMakeLists.txt
---- slicer-3.3.0~svn8902~/Modules/CMakeLists.txt	2009-03-19 04:07:41.000000000 +0000
-+++ slicer-3.3.0~svn8902/Modules/CMakeLists.txt	2009-03-19 04:08:33.000000000 +0000
+--- slicer-3.3.0~svn8902~/Modules/CMakeLists.txt	2009-03-19 20:34:17.000000000 +0000
++++ slicer-3.3.0~svn8902/Modules/CMakeLists.txt	2009-03-19 20:34:36.000000000 +0000
 @@ -56,7 +56,7 @@
     Statistics
     Tractography

Modified: packages/slicer/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/slicer/trunk/debian/rules?rev=35593&op=diff
==============================================================================
--- packages/slicer/trunk/debian/rules (original)
+++ packages/slicer/trunk/debian/rules Thu Mar 19 21:50:41 2009
@@ -103,7 +103,7 @@
 #usr/lib/MRML/*.so.*
 #usr/lib/*.so.*
 
-	dh_install -plibslicer         debian/tmp/usr/bin/*                     usr/bin
+	dh_install -plibslicer3        debian/tmp/usr/bin/*                     usr/bin
 
 
 




More information about the debian-science-commits mailing list