[DebianGIS-dev] r2678 - packages/hdf5/trunk/debian
frankie at alioth.debian.org
frankie at alioth.debian.org
Mon Jan 25 10:11:17 UTC 2010
Author: frankie
Date: 2010-01-25 10:11:16 +0000 (Mon, 25 Jan 2010)
New Revision: 2678
Modified:
packages/hdf5/trunk/debian/README.source
packages/hdf5/trunk/debian/changelog
packages/hdf5/trunk/debian/control
packages/hdf5/trunk/debian/control.in
packages/hdf5/trunk/debian/rules
Log:
Fixed migration issue.
Modified: packages/hdf5/trunk/debian/README.source
===================================================================
--- packages/hdf5/trunk/debian/README.source 2010-01-21 19:59:39 UTC (rev 2677)
+++ packages/hdf5/trunk/debian/README.source 2010-01-25 10:11:16 UTC (rev 2678)
@@ -14,4 +14,12 @@
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
Modified: packages/hdf5/trunk/debian/changelog
===================================================================
--- packages/hdf5/trunk/debian/changelog 2010-01-21 19:59:39 UTC (rev 2677)
+++ packages/hdf5/trunk/debian/changelog 2010-01-25 10:11:16 UTC (rev 2678)
@@ -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.
Modified: packages/hdf5/trunk/debian/control
===================================================================
--- packages/hdf5/trunk/debian/control 2010-01-21 19:59:39 UTC (rev 2677)
+++ packages/hdf5/trunk/debian/control 2010-01-25 10:11:16 UTC (rev 2678)
@@ -5,7 +5,7 @@
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 @@
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 @@
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 @@
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 @@
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
Modified: packages/hdf5/trunk/debian/control.in
===================================================================
--- packages/hdf5/trunk/debian/control.in 2010-01-21 19:59:39 UTC (rev 2677)
+++ packages/hdf5/trunk/debian/control.in 2010-01-25 10:11:16 UTC (rev 2678)
@@ -5,7 +5,7 @@
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 @@
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 @@
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 @@
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 @@
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
Modified: packages/hdf5/trunk/debian/rules
===================================================================
--- packages/hdf5/trunk/debian/rules 2010-01-21 19:59:39 UTC (rev 2677)
+++ packages/hdf5/trunk/debian/rules 2010-01-25 10:11:16 UTC (rev 2678)
@@ -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 @@
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 @@
-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
More information about the Pkg-grass-devel
mailing list