Update to 2.8.6 RC 1

Update dcmtk patch
This commit is contained in:
Orion Poplawski 2011-08-29 16:59:08 -06:00
parent a3b4cc22cf
commit d6faab91a7
4 changed files with 21 additions and 22 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ cmake-2.8.2.tar.gz
/cmake-2.8.5-rc2.tar.gz /cmake-2.8.5-rc2.tar.gz
/cmake-2.8.5-rc3.tar.gz /cmake-2.8.5-rc3.tar.gz
/cmake-2.8.5.tar.gz /cmake-2.8.5.tar.gz
/cmake-2.8.6-rc1.tar.gz

View File

@ -1,6 +1,6 @@
diff -ur ../cmake-2.8.5.orig/Modules/FindDCMTK.cmake ./Modules/FindDCMTK.cmake diff -up cmake-2.8.6-rc1/Modules/FindDCMTK.cmake.dcmtk cmake-2.8.6-rc1/Modules/FindDCMTK.cmake
--- ../cmake-2.8.5.orig/Modules/FindDCMTK.cmake 2011-07-08 17:51:44.000000000 +0530 --- cmake-2.8.6-rc1/Modules/FindDCMTK.cmake.dcmtk 2011-08-26 10:51:46.000000000 -0600
+++ ./Modules/FindDCMTK.cmake 2011-07-27 23:48:59.721443481 +0530 +++ cmake-2.8.6-rc1/Modules/FindDCMTK.cmake 2011-08-29 16:58:07.299550799 -0600
@@ -30,6 +30,10 @@ @@ -30,6 +30,10 @@
# Written for VXL by Amitha Perera. # Written for VXL by Amitha Perera.
# Upgraded for GDCM by Mathieu Malaterre. # Upgraded for GDCM by Mathieu Malaterre.
@ -12,7 +12,7 @@ diff -ur ../cmake-2.8.5.orig/Modules/FindDCMTK.cmake ./Modules/FindDCMTK.cmake
# #
if(NOT DCMTK_FOUND AND NOT DCMTK_DIR) if(NOT DCMTK_FOUND AND NOT DCMTK_DIR)
@@ -44,20 +48,26 @@ @@ -44,20 +48,26 @@ endif()
foreach(lib foreach(lib
dcmdata dcmdata
@ -40,7 +40,7 @@ diff -ur ../cmake-2.8.5.orig/Modules/FindDCMTK.cmake ./Modules/FindDCMTK.cmake
find_library(DCMTK_${lib}_LIBRARY find_library(DCMTK_${lib}_LIBRARY
${lib} ${lib}
PATHS PATHS
@@ -66,7 +76,8 @@ @@ -66,7 +76,8 @@ foreach(lib
${DCMTK_DIR}/${lib}/libsrc/Debug ${DCMTK_DIR}/${lib}/libsrc/Debug
${DCMTK_DIR}/${lib}/Release ${DCMTK_DIR}/${lib}/Release
${DCMTK_DIR}/${lib}/Debug ${DCMTK_DIR}/${lib}/Debug
@ -50,7 +50,7 @@ diff -ur ../cmake-2.8.5.orig/Modules/FindDCMTK.cmake ./Modules/FindDCMTK.cmake
mark_as_advanced(DCMTK_${lib}_LIBRARY) mark_as_advanced(DCMTK_${lib}_LIBRARY)
@@ -82,13 +93,16 @@ @@ -82,13 +93,16 @@ set(DCMTK_dcmdata_TEST_HEADER dctypes.h)
set(DCMTK_dcmimage_TEST_HEADER dicoimg.h) set(DCMTK_dcmimage_TEST_HEADER dicoimg.h)
set(DCMTK_dcmimgle_TEST_HEADER dcmimage.h) set(DCMTK_dcmimgle_TEST_HEADER dcmimage.h)
set(DCMTK_dcmjpeg_TEST_HEADER djdecode.h) set(DCMTK_dcmjpeg_TEST_HEADER djdecode.h)
@ -67,7 +67,7 @@ diff -ur ../cmake-2.8.5.orig/Modules/FindDCMTK.cmake ./Modules/FindDCMTK.cmake
foreach(dir foreach(dir
config config
@@ -96,19 +110,24 @@ @@ -96,16 +110,20 @@ foreach(dir
dcmimage dcmimage
dcmimgle dcmimgle
dcmjpeg dcmjpeg
@ -78,19 +78,13 @@ diff -ur ../cmake-2.8.5.orig/Modules/FindDCMTK.cmake ./Modules/FindDCMTK.cmake
dcmsign dcmsign
dcmsr dcmsr
dcmtls dcmtls
- ofstd) + dcmwlen
+ dcmwlm + oflog
+ ofstd ofstd)
+ oflog)
+
find_path(DCMTK_${dir}_INCLUDE_DIR find_path(DCMTK_${dir}_INCLUDE_DIR
${DCMTK_${dir}_TEST_HEADER} ${DCMTK_${dir}_TEST_HEADER}
PATHS PATHS
+ /usr/include/dcmtk
${DCMTK_DIR}/${dir}/include ${DCMTK_DIR}/${dir}/include
${DCMTK_DIR}/${dir} ${DCMTK_DIR}/${dir}
- ${DCMTK_DIR}/include/${dir}) ${DCMTK_DIR}/include/${dir}
+ ${DCMTK_DIR}/include/${dir}
+ /usr/include/dcmtk)
mark_as_advanced(DCMTK_${dir}_INCLUDE_DIR)

View File

@ -4,11 +4,11 @@
# Set to bcond_with or use --without gui to disable qt4 gui build # Set to bcond_with or use --without gui to disable qt4 gui build
%bcond_without gui %bcond_without gui
# Set to RC version if building RC, else %{nil} # Set to RC version if building RC, else %{nil}
%define rcver %{nil} %define rcver -rc1
Name: cmake Name: cmake
Version: 2.8.5 Version: 2.8.6
Release: 3%{?dist} Release: 0.1.rc1%{?dist}
Summary: Cross-platform make system Summary: Cross-platform make system
Group: Development/Tools Group: Development/Tools
@ -159,6 +159,10 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%changelog %changelog
* Mon Aug 29 2011 Orion Poplawski <orion@cora.nwra.com> - 2.8.6-0.1.rc1
- Update to 2.8.6 RC 1
- Update dcmtk patch
* Thu Jul 28 2011 Orion Poplawski <orion@cora.nwra.com> - 2.8.5-3 * Thu Jul 28 2011 Orion Poplawski <orion@cora.nwra.com> - 2.8.5-3
- Updated patch to find dcmtk in Fedora (Bug #720140) - Updated patch to find dcmtk in Fedora (Bug #720140)

View File

@ -1 +1 @@
3c5d32cec0f4c2dc45f4c2e84f4a20c5 cmake-2.8.5.tar.gz 82d546a0b8a7d75dc42776bd583622ed cmake-2.8.6-rc1.tar.gz