[med-svn] r10857 - trunk/packages/gdcm/trunk/debian/patches

Mathieu Malaterre malat at alioth.debian.org
Mon May 14 08:19:41 UTC 2012


Author: malat
Date: 2012-05-14 08:19:40 +0000 (Mon, 14 May 2012)
New Revision: 10857

Modified:
   trunk/packages/gdcm/trunk/debian/patches/fixdoxygeninstall.patch
Log:
Fix PDF install rule

Modified: trunk/packages/gdcm/trunk/debian/patches/fixdoxygeninstall.patch
===================================================================
--- trunk/packages/gdcm/trunk/debian/patches/fixdoxygeninstall.patch	2012-05-14 08:19:15 UTC (rev 10856)
+++ trunk/packages/gdcm/trunk/debian/patches/fixdoxygeninstall.patch	2012-05-14 08:19:40 UTC (rev 10857)
@@ -28,9 +28,20 @@
 
 Index: gdcm-2.2.0/Utilities/doxygen/CMakeLists.txt
 ===================================================================
---- gdcm-2.2.0.orig/Utilities/doxygen/CMakeLists.txt	2011-12-30 16:37:28.000000000 +0100
-+++ gdcm-2.2.0/Utilities/doxygen/CMakeLists.txt	2012-05-07 18:51:52.000000000 +0200
-@@ -186,6 +186,14 @@
+--- gdcm-2.2.0.orig/Utilities/doxygen/CMakeLists.txt	2011-12-30 15:37:28.000000000 +0000
++++ gdcm-2.2.0/Utilities/doxygen/CMakeLists.txt	2012-05-14 08:13:32.390320263 +0000
+@@ -143,6 +143,10 @@
+       DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/latex/gdcm-${GDCM_VERSION}.pdf
+       COMMENT  "GDCM: Executing GDCMDoxygenPDF"
+     )
++    INSTALL(FILES
++      ${CMAKE_CURRENT_BINARY_DIR}/latex/gdcm-${GDCM_VERSION}.pdf
++      DESTINATION ${GDCM_INSTALL_DOC_DIR}
++    )
+   ELSE(UNIX AND GDCM_PDF_DOCUMENTATION)
+     # make DoxygenDoc depends on the final tarball thus all file are garantee to be generated
+     ADD_CUSTOM_TARGET(GDCMDoxygenDoc
+@@ -186,6 +190,10 @@
      ${CMAKE_CURRENT_BINARY_DIR}/man/man1/gdcmviewer.1
      DESTINATION ${GDCM_INSTALL_MAN_DIR}/man1 COMPONENT Development
    )
@@ -38,17 +49,13 @@
 +    PATTERN "*.md5" EXCLUDE
 +    PATTERN "*.dot" EXCLUDE
 +  )
-+  INSTALL(FILES
-+    ${CMAKE_CURRENT_BINARY_DIR}/latex/gdcm-${GDCM_VERSION}.pdf
-+    DESTINATION ${GDCM_INSTALL_DOC_DIR}
-+    )
  
    # http://lists.debian.org/debian-italian/2006/12/msg00878.html
    # man2txt : man man | col -b | less
 Index: gdcm-2.2.0/Utilities/doxygen/vtk/CMakeLists.txt
 ===================================================================
---- gdcm-2.2.0.orig/Utilities/doxygen/vtk/CMakeLists.txt	2011-12-30 16:37:28.000000000 +0100
-+++ gdcm-2.2.0/Utilities/doxygen/vtk/CMakeLists.txt	2012-05-07 19:00:16.207011365 +0200
+--- gdcm-2.2.0.orig/Utilities/doxygen/vtk/CMakeLists.txt	2011-12-30 15:37:28.000000000 +0000
++++ gdcm-2.2.0/Utilities/doxygen/vtk/CMakeLists.txt	2012-05-14 08:13:08.706321120 +0000
 @@ -22,7 +22,7 @@
      SET (QT_TAG_FILE "${CMAKE_CURRENT_BINARY_DIR}/Qt.tag")
    ENDIF (INCLUDE_QT_DOCUMENTATION)
@@ -69,8 +76,8 @@
  
 Index: gdcm-2.2.0/Utilities/VTK/CMakeLists.txt
 ===================================================================
---- gdcm-2.2.0.orig/Utilities/VTK/CMakeLists.txt	2012-05-07 18:51:52.000000000 +0200
-+++ gdcm-2.2.0/Utilities/VTK/CMakeLists.txt	2012-05-07 18:51:52.000000000 +0200
+--- gdcm-2.2.0.orig/Utilities/VTK/CMakeLists.txt	2012-05-13 16:07:00.000000000 +0000
++++ gdcm-2.2.0/Utilities/VTK/CMakeLists.txt	2012-05-14 08:12:57.402321528 +0000
 @@ -699,10 +699,10 @@
      ADD_LIBRARY(${VTKGDCM_NAME}PythonD ${vtkgdcmPYTHON_SRCS})
      # this is a library set the version:




More information about the debian-med-commit mailing list