[InsightToolkit] Update to version 4.4.2

sebp sebp at fedoraproject.org
Sun Sep 8 08:26:06 UTC 2013


commit 10e345dea1bf8575c1fe6ec68760cb8b2f171e57
Author: Sebastian Pölsterl <sebp at k-d-w.org>
Date:   Sun Sep 8 10:25:27 2013 +0200

    Update to version 4.4.2

 .gitignore                              |    1 +
 InsightToolkit-Fix_HDF5_Libraries.patch |   11 +++++++++++
 InsightToolkit.spec                     |   10 ++++++++--
 sources                                 |    2 +-
 4 files changed, 21 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 739c4b2..07cdd61 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /InsightToolkit-4.4.0.tar.gz
 /InsightToolkit-4.4.0.tar.xz
 /InsightToolkit-4.4.1.tar.xz
+/InsightToolkit-4.4.2.tar.xz
diff --git a/InsightToolkit-Fix_HDF5_Libraries.patch b/InsightToolkit-Fix_HDF5_Libraries.patch
new file mode 100644
index 0000000..6553a16
--- /dev/null
+++ b/InsightToolkit-Fix_HDF5_Libraries.patch
@@ -0,0 +1,11 @@
+--- InsightToolkit-4.4.2.orig/Modules/ThirdParty/HDF5/CMakeLists.txt	2013-09-07 23:19:16.836120367 +0200
++++ InsightToolkit-4.4.2/Modules/ThirdParty/HDF5/CMakeLists.txt	2013-09-07 23:20:27.476727552 +0200
+@@ -11,7 +11,7 @@
+     ${HDF5_INCLUDE_DIRS}
+     ${HDF5_INCLUDE_DIR_CPP}
+     )
+-  set(ITKHDF5_LIBRARIES ${HDF5_LIBRARIES})
++  set(ITKHDF5_LIBRARIES ${HDF5_LIBRARIES_RELEASE})
+   set(ITKHDF5_NO_SRC 1)
+ else()
+   set(ITKHDF5_INCLUDE_DIRS
diff --git a/InsightToolkit.spec b/InsightToolkit.spec
index 2401843..b71cb80 100644
--- a/InsightToolkit.spec
+++ b/InsightToolkit.spec
@@ -1,6 +1,6 @@
 %define _ver_major      4
 %define _ver_minor      4
-%define _ver_release    1
+%define _ver_release    2
 
 %if 0%{?rhel} && 0%{?rhel} <= 5
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
@@ -10,13 +10,14 @@
 Name:           InsightToolkit
 Summary:        Insight Toolkit library for medical image processing
 Version:        %{_ver_major}.%{_ver_minor}.%{_ver_release}
-Release:        2%{?dist}
+Release:        1%{?dist}
 License:        ASL 2.0 
 Group:          Applications/Engineering
 Source0:        http://sourceforge.net/projects/itk/files/itk/%{_ver_major}.%{_ver_minor}/%{name}-%{version}.tar.xz
 Source1:        http://downloads.sourceforge.net/project/itk/itk/2.4/ItkSoftwareGuide-2.4.0.pdf
 URL:            http://www.itk.org/
 Patch0:         %{name}-0001-Set-lib-lib64-according-to-the-architecture.patch
+Patch1:         %{name}-Fix_HDF5_Libraries.patch
 
 BuildRequires:  cmake
 BuildRequires:  doxygen
@@ -96,6 +97,7 @@ This package contains additional documentation.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 # copy guide into the appropriate directory
 cp -a %{SOURCE1} .
@@ -178,6 +180,10 @@ make test -C %{_target_platform} || exit 0
 
 
 %changelog
+* Sun Sep 08 2013 Sebastian Pölsterl <sebp at k-d-w.org> - 4.4.2-1
+- Update to version 4.4.2
+- Added patch to only link against HDF5 release libraries
+
 * Wed Aug 14 2013 Mario Ceresa <mrceresa at fedoraproject.org> 4.4.1-2
 - Re-enabled vtk support
 - Re-enabled tests
diff --git a/sources b/sources
index fb865dc..2ee5c9e 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-07a06252013c92312ccdd27c6aa0ebe7  InsightToolkit-4.4.1.tar.xz
+f59dce3f68417215daa8a3aca72e65d9  InsightToolkit-4.4.2.tar.xz
 27c09e9c238c723a60a6d7a127ae657d  ItkSoftwareGuide-2.4.0.pdf


More information about the scm-commits mailing list