r35594 - in /packages/slicer/trunk/debian: Notes patches/50_all_changes.dpatch rules shlibs.local
domibel-guest at users.alioth.debian.org
domibel-guest at users.alioth.debian.org
Sat Mar 21 04:51:03 UTC 2009
Author: domibel-guest
Date: Sat Mar 21 04:51:03 2009
New Revision: 35594
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=35594
Log:
preparation for 3.3
Added:
packages/slicer/trunk/debian/shlibs.local
Modified:
packages/slicer/trunk/debian/Notes
packages/slicer/trunk/debian/patches/50_all_changes.dpatch
packages/slicer/trunk/debian/rules
Modified: packages/slicer/trunk/debian/Notes
URL: http://svn.debian.org/wsvn/debian-science/packages/slicer/trunk/debian/Notes?rev=35594&op=diff
==============================================================================
--- packages/slicer/trunk/debian/Notes (original)
+++ packages/slicer/trunk/debian/Notes Sat Mar 21 04:51:03 2009
@@ -1,25 +1,4 @@
+ * using debian curl version
+ * -DCMAKE_SKIP_RPATH:BOOL=ON is responsible if GenerateLM and GenerateCLP is unable to find libLoadableModule.so and libModuleDescriptionParser.so
+ *
- * SHLIBS ARE BROKEN
-
-
- * uncommented in : Modules/VolumeRendering/VolumeRenderingReplacements/vtkSlicerOpenGLVolumeTextureMapper3D.cxx
- /*
- #include "vtkVolumeTextureMapper3D_OneComponentNoShadeFP.cxx"
- #include "vtkVolumeTextureMapper3D_OneComponentShadeFP.cxx"
- #include "vtkVolumeTextureMapper3D_TwoDependentNoShadeFP.cxx"
- #include "vtkVolumeTextureMapper3D_TwoDependentShadeFP.cxx"
- #include "vtkVolumeTextureMapper3D_FourDependentNoShadeFP.cxx"
- #include "vtkVolumeTextureMapper3D_FourDependentShadeFP.cxx"
- */
-
- * VOLUMERENDERINGMODULE = ON
-
- * using debian curl version
-
- * VOLUMERENDERINGMODULE = OFF
-
-/tmp/slicer-3.0.0+svn6268/Modules/VolumeRendering/VolumeRenderingReplacements/vtkSlicerOpenGLVolumeTextureMapper3D.cxx:36:62:
-Fehl$
- vtkVolumeTextureMapper3D_OneComponentNoShadeFP.cxx: No such file or directory
-
-
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=35594&op=diff
==============================================================================
--- packages/slicer/trunk/debian/patches/50_all_changes.dpatch (original)
+++ packages/slicer/trunk/debian/patches/50_all_changes.dpatch Sat Mar 21 04:51:03 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 20:34:17.000000000 +0000
-+++ slicer-3.3.0~svn8902/Applications/CLI/CMakeLists.txt 2009-03-19 20:34:36.000000000 +0000
+--- slicer-3.3.0~svn8902~/Applications/CLI/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Applications/CLI/CMakeLists.txt 2009-03-21 04:18:49.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 20:34:17.000000000 +0000
-+++ slicer-3.3.0~svn8902/Applications/GUI/CMakeLists.txt 2009-03-19 20:34:36.000000000 +0000
+--- slicer-3.3.0~svn8902~/Applications/GUI/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Applications/GUI/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
@@ -95,8 +95,10 @@
# --------------------------------------------------------------------------
# Find SLICERLIBCURL (slicercurl)
@@ -34,8 +34,8 @@
# --------------------------------------------------------------------------
# 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
+--- slicer-3.3.0~svn8902~/Base/CLI/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Base/CLI/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
@@ -58,6 +58,11 @@
slicer3_get_persistent_property(Slicer3_Base_LIBRARIES tmp)
slicer3_set_persistent_property(Slicer3_Base_LIBRARIES ${tmp} SlicerBaseCLI)
@@ -48,9 +48,24 @@
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/GUI/CMakeLists.txt slicer-3.3.0~svn8902/Base/GUI/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Base/GUI/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Base/GUI/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
+@@ -177,6 +177,11 @@
+ RemoteIO
+ )
+
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++ SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++ VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ slicer3_get_persistent_property(Slicer3_Base_LIBRARIES tmp)
+ slicer3_set_persistent_property(Slicer3_Base_LIBRARIES ${tmp} ${lib_name})
+
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
+--- slicer-3.3.0~svn8902~/Base/Logic/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Base/Logic/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
@@ -115,6 +115,11 @@
slicer3_get_persistent_property(Slicer3_Base_LIBRARIES tmp)
slicer3_set_persistent_property(Slicer3_Base_LIBRARIES ${tmp} ${lib_name})
@@ -64,8 +79,8 @@
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 20:34:17.000000000 +0000
-+++ slicer-3.3.0~svn8902/CMakeLists.txt 2009-03-19 20:34:36.000000000 +0000
+--- slicer-3.3.0~svn8902~/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
@@ -27,6 +27,11 @@
set(Slicer3_HOME "${Slicer3_BINARY_DIR}")
@@ -109,8 +124,8 @@
## 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
+--- slicer-3.3.0~svn8902~/Libs/FreeSurfer/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/FreeSurfer/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
@@ -68,9 +68,14 @@
vtkIOTCL
)
@@ -128,8 +143,8 @@
)
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
+--- slicer-3.3.0~svn8902~/Libs/IGT/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/IGT/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
@@ -139,9 +139,14 @@
${TRACKING_INTERFACE_LIB}
)
@@ -146,9 +161,28 @@
ARCHIVE DESTINATION lib/${PROJECT_NAME} COMPONENT Development
)
+diff -urNad slicer-3.3.0~svn8902~/Libs/ITKCommandIO/CMakeLists.txt slicer-3.3.0~svn8902/Libs/ITKCommandIO/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Libs/ITKCommandIO/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/ITKCommandIO/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
+@@ -71,9 +71,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/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
+--- slicer-3.3.0~svn8902~/Libs/LoadableModule/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/LoadableModule/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
@@ -116,9 +116,14 @@
target_link_libraries(${lib_name} ${link_libs})
@@ -166,8 +200,8 @@
)
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
+--- slicer-3.3.0~svn8902~/Libs/MGHImageIO/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/MGHImageIO/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
@@ -59,9 +59,14 @@
ITKIO
)
@@ -185,8 +219,8 @@
)
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
+--- slicer-3.3.0~svn8902~/Libs/MRML/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/MRML/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
@@ -237,6 +237,11 @@
endif(MRML_USE_vtkTeem)
endif(MRML_USE_Teem)
@@ -199,12 +233,12 @@
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})
+diff -urNad slicer-3.3.0~svn8902~/Libs/MRMLIDImageIO/CMakeLists.txt slicer-3.3.0~svn8902/Libs/MRMLIDImageIO/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Libs/MRMLIDImageIO/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/MRMLIDImageIO/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
+@@ -78,9 +78,14 @@
+ vtkImaging
+ )
+SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
+ SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
@@ -218,9 +252,28 @@
ARCHIVE DESTINATION lib/${PROJECT_NAME} COMPONENT Development
)
+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-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/ModuleDescriptionParser/CMakeLists.txt 2009-03-21 04:18:49.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
+--- slicer-3.3.0~svn8902~/Libs/Qdec/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/Qdec/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
@@ -76,9 +76,14 @@
# vtkIOTCL
)
@@ -238,8 +291,8 @@
)
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 20:34:17.000000000 +0000
-+++ slicer-3.3.0~svn8902/Libs/RemoteIO/CMakeLists.txt 2009-03-19 20:34:36.000000000 +0000
+--- slicer-3.3.0~svn8902~/Libs/RemoteIO/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/RemoteIO/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
@@ -11,8 +11,11 @@
find_package(ITK REQUIRED)
include(${ITK_USE_FILE})
@@ -276,8 +329,8 @@
)
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 20:34:17.000000000 +0000
-+++ slicer-3.3.0~svn8902/Libs/RemoteIO/vtkHTTPHandler.h 2009-03-19 20:34:36.000000000 +0000
+--- slicer-3.3.0~svn8902~/Libs/RemoteIO/vtkHTTPHandler.h 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/RemoteIO/vtkHTTPHandler.h 2009-03-21 04:18:49.000000000 +0000
@@ -5,7 +5,7 @@
#pragma warning ( disable : 4786 )
#endif
@@ -288,8 +341,8 @@
#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
+--- slicer-3.3.0~svn8902~/Libs/vtkITK/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/vtkITK/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
@@ -110,9 +110,14 @@
ITKDICOMParser
)
@@ -307,8 +360,8 @@
)
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
+--- slicer-3.3.0~svn8902~/Libs/vtkTeem/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Libs/vtkTeem/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
@@ -111,9 +111,14 @@
${Teem_LIBRARIES}
)
@@ -326,8 +379,8 @@
)
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 20:34:17.000000000 +0000
-+++ slicer-3.3.0~svn8902/Modules/CMakeLists.txt 2009-03-19 20:34:36.000000000 +0000
+--- slicer-3.3.0~svn8902~/Modules/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Modules/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
@@ -56,7 +56,7 @@
Statistics
Tractography
@@ -337,3 +390,93 @@
VolumeRendering
# WFEngineModule <- can't work with 2.6 and Win32??
# MRAblation <- not working either
+diff -urNad slicer-3.3.0~svn8902~/Modules/CommandLineModule/CMakeLists.txt slicer-3.3.0~svn8902/Modules/CommandLineModule/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Modules/CommandLineModule/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Modules/CommandLineModule/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
+@@ -86,6 +86,11 @@
+ ${ITK_LIBRARIES}
+ )
+
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++ SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++ VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ # Python settings
+
+ if(Slicer3_USE_PYTHON)
+diff -urNad slicer-3.3.0~svn8902~/Modules/EMSegment/CMakeLists.txt slicer-3.3.0~svn8902/Modules/EMSegment/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Modules/EMSegment/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Modules/EMSegment/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
+@@ -176,6 +176,11 @@
+ Volumes
+ )
+
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++ SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++ VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ slicer3_install_modules(${lib_name})
+
+ # --------------------------------------------------------------------------
+diff -urNad slicer-3.3.0~svn8902~/Modules/QdecModule/CMakeLists.txt slicer-3.3.0~svn8902/Modules/QdecModule/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Modules/QdecModule/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Modules/QdecModule/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
+@@ -73,6 +73,11 @@
+ ${ITK_LIBRARIES}
+ )
+
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++ SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++ VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ slicer3_install_modules(${lib_name})
+
+ # --------------------------------------------------------------------------
+diff -urNad slicer-3.3.0~svn8902~/Modules/ScriptedModule/CMakeLists.txt slicer-3.3.0~svn8902/Modules/ScriptedModule/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Modules/ScriptedModule/CMakeLists.txt 2009-03-19 02:54:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Modules/ScriptedModule/CMakeLists.txt 2009-03-21 04:20:16.000000000 +0000
+@@ -68,6 +68,11 @@
+ ${ITK_LIBRARIES}
+ )
+
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++ SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++ VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ # Python settings
+
+ if(Slicer3_USE_PYTHON)
+diff -urNad slicer-3.3.0~svn8902~/Modules/SlicerDaemon/CMakeLists.txt slicer-3.3.0~svn8902/Modules/SlicerDaemon/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Modules/SlicerDaemon/CMakeLists.txt 2009-03-19 02:54:37.000000000 +0000
++++ slicer-3.3.0~svn8902/Modules/SlicerDaemon/CMakeLists.txt 2009-03-21 04:19:52.000000000 +0000
+@@ -69,6 +69,11 @@
+ ${ITK_LIBRARIES}
+ )
+
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++ SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++ VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ slicer3_install_modules(${lib_name})
+
+ # --------------------------------------------------------------------------
+diff -urNad slicer-3.3.0~svn8902~/Modules/Volumes/CMakeLists.txt slicer-3.3.0~svn8902/Modules/Volumes/CMakeLists.txt
+--- slicer-3.3.0~svn8902~/Modules/Volumes/CMakeLists.txt 2009-03-21 04:17:23.000000000 +0000
++++ slicer-3.3.0~svn8902/Modules/Volumes/CMakeLists.txt 2009-03-21 04:18:49.000000000 +0000
+@@ -98,6 +98,11 @@
+ SlicerTractographyFiducialSeeding
+ )
+
++SET_TARGET_PROPERTIES(${lib_name} PROPERTIES
++ SOVERSION ${Slicer3_SHAREDLIB_SOVERSION}
++ VERSION ${Slicer3_SHAREDLIB_VERSION}
++)
++
+ slicer3_install_modules(${lib_name})
+
+ # --------------------------------------------------------------------------
Modified: packages/slicer/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/slicer/trunk/debian/rules?rev=35594&op=diff
==============================================================================
--- packages/slicer/trunk/debian/rules (original)
+++ packages/slicer/trunk/debian/rules Sat Mar 21 04:51:03 2009
@@ -22,6 +22,7 @@
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed" \
-DSlicer3_USE_IGSTK:BOOL=OFF \
-DSlicer3_USE_OPENIGTLINK:BOOL=OFF
+
CFLAGS = -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -62,7 +63,8 @@
dh_testdir
# Add here commands to compile the package.
-
+# export LD_LIBRARY_PATH=$(SHARED_BUILD_PATH)/bin/:$LD_LIBRARY_PATH
+
# build shared libs and binaries
cd $(SHARED_BUILD_PATH) && $(MAKE) $(JOBS)
@@ -95,15 +97,18 @@
# install binaries and shared libs
cd $(SHARED_BUILD_PATH) && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-# dh_install -plibslicer3-dev debian/tmp/usr/lib/lib*.so usr/lib
- dh_install -plibslicer3-dev debian/tmp/usr/lib/* usr/lib
+ dh_install -plibslicer3 debian/tmp/usr/lib/lib*.so.* usr/lib
+ dh_install -plibslicer3-dev debian/tmp/usr/lib/lib*.so usr/lib
+ dh_install -plibslicer3 debian/tmp/usr/lib/Slicer3 usr/lib
+
+# dh_install -plibslicer3-dev debian/tmp/usr/lib/* usr/lib
dh_install -plibslicer3-dev debian/tmp/usr/include/* usr/include
#usr/lib/Slicer3/*.so.*
#usr/lib/MRML/*.so.*
#usr/lib/*.so.*
- dh_install -plibslicer3 debian/tmp/usr/bin/* usr/bin
+ dh_install -pslicer debian/tmp/usr/bin/* usr/bin
@@ -142,10 +147,5 @@
dh_md5sums
dh_builddeb
-#shlibs:
-# (cd debian/libslicer3/usr/lib ; for i in \*.so.5.0 ; do ln -s $$i `basename $$i .5.0`.5 ; done)
-# dh_makeshlibs -a -V
-
-
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
Added: packages/slicer/trunk/debian/shlibs.local
URL: http://svn.debian.org/wsvn/debian-science/packages/slicer/trunk/debian/shlibs.local?rev=35594&op=file
==============================================================================
--- packages/slicer/trunk/debian/shlibs.local (added)
+++ packages/slicer/trunk/debian/shlibs.local Sat Mar 21 04:51:03 2009
@@ -1,0 +1,18 @@
+libLoadableModule 3 libslicer3 (>= 3.0.0-1)
+libModuleDescriptionParser 3 libslicer3 (>= 3.0.0-1)
+libSlicerBaseLogic 3 libslicer3 (>= 3.0.0-1)
+libMRML 3 libslicer3 (>= 3.0.0-1)
+libFreeSurfer 3 libslicer3 (>= 3.0.0-1)
+libIGT 3 libslicer3 (>= 3.0.0-1)
+libRemoteIO 3 libslicer3 (>= 3.0.0-1)
+libCommandLineModule 3 libslicer3 (>= 3.0.0-1)
+libvtkITK 3 libslicer3 (>= 3.0.0-1)
+libvtkTeem 3 libslicer3 (>= 3.0.0-1)
+libSlicerBaseCLI 3 libslicer3 (>= 3.0.0-1)
+libScriptedModule 3 libslicer3 (>= 3.0.0-1)
+libSlicerDaemon 3 libslicer3 (>= 3.0.0-1)
+libSlicerBaseGUI 3 libslicer3 (>= 3.0.0-1)
+libEMSegment 3 libslicer3 (>= 3.0.0-1)
+libQueryAtlas 3 libslicer3 (>= 3.0.0-1)
+libQdecModule 3 libslicer3 (>= 3.0.0-1)
+libVolumes 3 libslicer3 (>= 3.0.0-1)
More information about the debian-science-commits
mailing list