[SCM] hdf5 branch, upstream, updated. upstream/1.8.4-patch1-79-gbfcb1ff
Francesco Paolo Lovergine
frankie at debian.org
Wed Nov 16 10:34:13 UTC 2011
The following commit has been merged in the upstream branch:
commit 9d9fd9a5c81079721def21ced1e0b61d547ad11a
Author: Francesco Paolo Lovergine <frankie at debian.org>
Date: Mon Jan 25 10:11:16 2010 +0000
Fixed migration issue.
diff --git a/debian/README.source b/debian/README.source
index 39f1868..f9c6f57 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -14,4 +14,12 @@ svn export https://svn.hdfgroup.uiuc.edu/hdf5doc/branches/hdf5_1_8_4/html
and a tarball is created by cleaning Makfiles and other stuff. The resulting
archive is provided as a uuencoded archive.
- -- Francesco Paolo Lovergine <frankie at debian.org> Fri Jun 19 22:09:25 CEST 2009
+About versioning style. In very recent times (since 1.8 series) HDF Group
+introduced a libtool SONAME versioning in the library with major/minor releases.
+Unfortunately, past experieces showed that API retention has been sometimes
+violated in the past, so current packages use a defensive approach by considering
+each release as not back-compatible. This is also motivated by the presence of
+of C++ and Fortran bindings as well as multiple MPI editions, which could imply
+ABI breakages even for minor releases. Be defensive is more safe, definitively
+
+ -- Francesco Paolo Lovergine <frankie at debian.org> Mon Jan 25 06:00:00 CET 2010
diff --git a/debian/changelog b/debian/changelog
index 1001abb..32c1b6d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+hdf5 (1.8.4-2) unstable; urgency=low
+
+ * Current library still retains the 1.8 SONAME and that causes problems
+ in upgrading. Unfortunately HDF5 library has a long history of API/ABI violations
+ among "minor" revisions. So introducing one more virtual package to provide/conflict
+ and also coflicting against last 1.8.3 package for managing a safe upgrade.
+ See README.source for more information.
+ (closes: #566540, #566339, #566533, #566738, #566698)
+ * Completed superH support.
+ (closes: #553979)
+
+ -- Francesco Paolo Lovergine <frankie at debian.org> Mon, 25 Jan 2010 10:31:47 +0100
+
hdf5 (1.8.4-1) unstable; urgency=low
* New upstream release.
diff --git a/debian/control b/debian/control
index 96982c8..4a5bce6 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
Uploaders: Francesco Paolo Lovergine <frankie at debian.org>
Build-Depends: libmpich1.0-dev (>= 1.2.7-1), zlib1g-dev, lam4-dev (>= 7.1.1-3.2), quilt,
libopenmpi-dev [!arm !armel !hppa !mips !mipsel !s390 !sh4 !m68k], libjpeg62-dev | libjpeg-dev, debhelper (>> 7), sed (>=4.1.5),
- gfortran, libibverbs-dev [!arm !armel !hppa !mips !mipsel !s390 !kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
+ gfortran, libibverbs-dev [!arm !armel !hppa !mips !mipsel !s390 !kfreebsd-i386 !kfreebsd-amd64 !hurd-i386 !sh4],
sharutils
Standards-Version: 3.8.3
Homepage: http://hdfgroup.org/HDF5/
@@ -16,8 +16,9 @@ Package: libhdf5-serial-1.8.4
Section: libs
Architecture: any
Depends: ${shlibs:Depends}
-Conflicts: libhdf5-1.8.4
-Provides: libhdf5-1.8.4
+Conflicts: libhdf5-1.8.4, libhdf5-1.8, libhdf5-serial-1.8.3
+Provides: libhdf5-1.8.4, libhdf5-1.8
+Replaces: libhdf5-serial-1.8.3
Description: Hierarchical Data Format 5 (HDF5) - runtime files - serial version
HDF5 is a file format and library for storing scientific data.
HDF5 was designed and implemented to address the deficiencies of
@@ -46,8 +47,9 @@ Section: libs
Priority: extra
Architecture: any
Depends: ${shlibs:Depends}
-Conflicts: libhdf5-1.8.4
-Provides: libhdf5-1.8.4
+Conflicts: libhdf5-1.8.4, libhdf5-1.8, libhdf5-lam-1.8.3
+Provides: libhdf5-1.8.4, libhdf5-1.8
+Replaces: libhdf5-lam-1.8.3
Description: Hierarchical Data Format 5 (HDF5) - runtime files - LAM version
HDF5 is a file format and library for storing scientific data.
HDF5 was designed and implemented to address the deficiencies of
@@ -77,8 +79,9 @@ Section: libs
Priority: extra
Architecture: alpha amd64 i386 ia64 powerpc sparc kfreebsd-i386 kfreebsd-amd64
Depends: ${shlibs:Depends}
-Conflicts: libhdf5-1.8.4
-Provides: libhdf5-1.8.4
+Conflicts: libhdf5-1.8.4, libhdf5-1.8, libhdf5-openmpi-1.8.3
+Provides: libhdf5-1.8.4, libhdf5-1.8
+Replaces: libhdf5-openmpi-1.8.3
Description: Hierarchical Data Format 5 (HDF5) - runtime files - OpenMPI version
HDF5 is a file format and library for storing scientific data.
HDF5 was designed and implemented to address the deficiencies of
@@ -108,8 +111,9 @@ Section: libs
Priority: extra
Architecture: any
Depends: ${shlibs:Depends}
-Conflicts: libhdf5-1.8.4
-Provides: libhdf5-1.8.4
+Conflicts: libhdf5-1.8.4, libhdf5-1.8, libhdf5-mpich-1.8.3
+Provides: libhdf5-1.8.4, libhdf5-1.8
+Replaces: libhdf5-mpich-1.8.3
Description: Hierarchical Data Format 5 (HDF5) - runtime files - MPICH version
HDF5 is a file format and library for storing scientific data.
HDF5 was designed and implemented to address the deficiencies of
diff --git a/debian/control.in b/debian/control.in
index b97cb14..98235ee 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -5,7 +5,7 @@ Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
Uploaders: Francesco Paolo Lovergine <frankie at debian.org>
Build-Depends: libmpich1.0-dev (>= 1.2.7-1), zlib1g-dev, lam4-dev (>= 7.1.1-3.2), quilt,
libopenmpi-dev [!arm !armel !hppa !mips !mipsel !s390 !sh4 !m68k], libjpeg62-dev | libjpeg-dev, debhelper (>> 7), sed (>=4.1.5),
- gfortran, libibverbs-dev [!arm !armel !hppa !mips !mipsel !s390 !kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
+ gfortran, libibverbs-dev [!arm !armel !hppa !mips !mipsel !s390 !kfreebsd-i386 !kfreebsd-amd64 !hurd-i386 !sh4],
sharutils
Standards-Version: 3.8.3
Homepage: http://hdfgroup.org/HDF5/
@@ -16,8 +16,9 @@ Package: libhdf5-serial- at VERSION@
Section: libs
Architecture: any
Depends: ${shlibs:Depends}
-Conflicts: libhdf5- at VERSION@
-Provides: libhdf5- at VERSION@
+Conflicts: libhdf5- at VERSION@, libhdf5- at MAJOR_VERSION@, libhdf5-serial-1.8.3
+Provides: libhdf5- at VERSION@, libhdf5- at MAJOR_VERSION@
+Replaces: libhdf5-serial-1.8.3
Description: Hierarchical Data Format 5 (HDF5) - runtime files - serial version
HDF5 is a file format and library for storing scientific data.
HDF5 was designed and implemented to address the deficiencies of
@@ -46,8 +47,9 @@ Section: libs
Priority: extra
Architecture: any
Depends: ${shlibs:Depends}
-Conflicts: libhdf5- at VERSION@
-Provides: libhdf5- at VERSION@
+Conflicts: libhdf5- at VERSION@, libhdf5- at MAJOR_VERSION@, libhdf5-lam-1.8.3
+Provides: libhdf5- at VERSION@, libhdf5- at MAJOR_VERSION@
+Replaces: libhdf5-lam-1.8.3
Description: Hierarchical Data Format 5 (HDF5) - runtime files - LAM version
HDF5 is a file format and library for storing scientific data.
HDF5 was designed and implemented to address the deficiencies of
@@ -77,8 +79,9 @@ Section: libs
Priority: extra
Architecture: @ARCHS@
Depends: ${shlibs:Depends}
-Conflicts: libhdf5- at VERSION@
-Provides: libhdf5- at VERSION@
+Conflicts: libhdf5- at VERSION@, libhdf5- at MAJOR_VERSION@, libhdf5-openmpi-1.8.3
+Provides: libhdf5- at VERSION@, libhdf5- at MAJOR_VERSION@
+Replaces: libhdf5-openmpi-1.8.3
Description: Hierarchical Data Format 5 (HDF5) - runtime files - OpenMPI version
HDF5 is a file format and library for storing scientific data.
HDF5 was designed and implemented to address the deficiencies of
@@ -108,8 +111,9 @@ Section: libs
Priority: extra
Architecture: any
Depends: ${shlibs:Depends}
-Conflicts: libhdf5- at VERSION@
-Provides: libhdf5- at VERSION@
+Conflicts: libhdf5- at VERSION@, libhdf5- at MAJOR_VERSION@, libhdf5-mpich-1.8.3
+Provides: libhdf5- at VERSION@, libhdf5- at MAJOR_VERSION@
+Replaces: libhdf5-mpich-1.8.3
Description: Hierarchical Data Format 5 (HDF5) - runtime files - MPICH version
HDF5 is a file format and library for storing scientific data.
HDF5 was designed and implemented to address the deficiencies of
diff --git a/debian/rules b/debian/rules
index a699537..3e8bb13 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,7 @@
package = libhdf5
pkgversion ?= $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
version ?= $(shell echo $(pkgversion) | sed 's/-[^-]*$$//')
+major_version = $(shell echo $(version) | cut -d. -f1,2)
serpack = $(package)-serial-$(version)
lampack = $(package)-lam-$(version)
openmpipack = $(package)-openmpi-$(version)
@@ -110,7 +111,7 @@ configure-stamp-debian: patch debian/control.in
ln -sf $$i $(openmpipack).$$j ; \
ln -sf $$i $(mpichpack).$$j ; \
done
- sed "s/@VERSION@/$(version)/g" debian/shlibs.in > debian/$(serpack).shlibs
+ sed -e "s/@VERSION@/$(version)/g" debian/shlibs.in > debian/$(serpack).shlibs
touch $@
configure-stamp-serial: configure-stamp-debian
@@ -186,7 +187,7 @@ clean: unpatch
-rm -rf debian/build-openmpi
-rm -rf debian/build-mpich
-find debian -type l | xargs rm -f
- grep -v ^\% debian/control.in | sed -e "s/@VERSION@/$(version)/g" -e "s/@ARCHS@/$(ARCHS)/" > debian/control
+ grep -v ^\% debian/control.in | sed -e "s/@VERSION@/$(version)/g" -e "s/@ARCHS@/$(ARCHS)/" -e "s/@MAJOR_VERSION@/$(major_version)/" > debian/control
dh_clean configure-stamp* build-stamp* install-stamp* debian/*.shlibs
install: build prep install-serial install-lam $(install_openmpi) install-mpich install-doc
--
Hierarchical Data Format 5 (HDF5)
More information about the Pkg-grass-devel
mailing list