[hdf5] 01/16: First cut of bounce changes to alternatives
Alastair McKinstry
mckinstry at moszumanska.debian.org
Thu Jul 24 13:15:44 UTC 2014
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch dev-alternatives
in repository hdf5.
commit f09055caa79f956bce5c8711dc92d8a77439afe3
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Mon Jul 21 10:26:41 2014 +0100
First cut of bounce changes to alternatives
---
debian/libhdf5-flavor-dev.postinst.in | 48 +++++++++++++++++------------------
debian/make_bounce_libs.py | 2 +-
2 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/debian/libhdf5-flavor-dev.postinst.in b/debian/libhdf5-flavor-dev.postinst.in
index 1cde179..35df454 100644
--- a/debian/libhdf5-flavor-dev.postinst.in
+++ b/debian/libhdf5-flavor-dev.postinst.in
@@ -11,34 +11,34 @@ set -e
--slave /usr/share/man/man1/h5pcc.1.gz h5pcc.1.gz /usr/share/man/man1/h5pcc. at FLAVOR@.1.gz \
--slave /usr/share/man/man1/h5pfc.1.gz h5pfc.1.gz /usr/share/man/man1/h5pfc. at FLAVOR@.1.gz \
--slave ${LIB}/pkgconfig/hdf5-mpi.pc hdf5-mpi.pc ${LIB}/pkgconfig/hdf5- at FLAVOR@.pc \
- --slave ${LIB}/libhdf5_mpi.so libhdf5_mpi.so ${LIB}/libhdf5 at FLAVORLIB@.so.8.0.2 \
- --slave ${LIB}/libhdf5_mpi.so.8.0.2 libhdf5_mpi.so.8.0.2 ${LIB}/libhdf5 at FLAVORLIB@.so.8.0.2 \
- --slave ${LIB}/libhdf5_mpi_hl.so.8.0.2 libhdf5_mpi_hl.so.8.0.2 ${LIB}/libhdf5 at FLAVORLIB@_hl.so.8.0.2 \
- --slave ${LIB}/libhdf5_mpi_fortran.so.8.0.2 libhdf5_mpi_fortran.so.8.0.2 ${LIB}/libhdf5 at FLAVORLIB@_fortran.so.8.0.2 \
- --slave ${LIB}/libhdf5_mpihl_fortran.so.8.0.2 libhdf5_mpihl_fortran.so.8.0.2 ${LIB}/libhdf5 at FLAVORLIB@hl_fortran.so.8.0.2 \
- --slave ${LIB}/libhdf5_mpi.so.8 libhdf5_mpi.so.8 ${LIB}/libhdf5 at FLAVORLIB@.so.8.0.2 \
- --slave ${LIB}/libhdf5_mpi_hl.so.8 libhdf5_mpi_hl.so.8 ${LIB}/libhdf5 at FLAVORLIB@_hl.so.8.0.2 \
- --slave ${LIB}/libhdf5_mpi_fortran.so.8 libhdf5_mpi_fortran.so.8 ${LIB}/libhdf5 at FLAVORLIB@_fortran.so.8.0.2 \
- --slave ${LIB}/libhdf5_mpihl_fortran.so.8 libhdf5_mpihl_fortran.so.8 ${LIB}/libhdf5 at FLAVORLIB@hl_fortran.so.8.0.2 \
- --slave ${LIB}/libhdf5_mpi_hl.so libhdf5_mpi_hl.so ${LIB}/libhdf5 at FLAVORLIB@_hl.so.8.0.2 \
- --slave ${LIB}/libhdf5_mpi_fortran.so libhdf5_mpi_fortran.so ${LIB}/libhdf5 at FLAVORLIB@_fortran.so.8.0.2 \
- --slave ${LIB}/libhdf5_mpihl_fortran.so libhdf5_mpihl_fortran.so ${LIB}/libhdf5 at FLAVORLIB@hl_fortran.so.8.0.2
+ --slave ${LIB}/libhdf5_mpi.so libhdf5_mpi.so ${LIB}/@FLAVOR@/libhdf5_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_mpi_hl.so libhdf5_mpi_hl.so ${LIB}/@FLAVOR@/libhdf5_hl_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_mpi_fortran.so libhdf5_mpi_fortran.so ${LIB}/@FLAVOR@/libhdf5_fortran_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_mpihl_fortran.so libhdf5_mpihl_fortran.so ${LIB}/@FLAVOR@/libhdf5hl_fortran_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_mpi.so.8.0.2 libhdf5_mpi.so.8.0.2 ${LIB}/@FLAVOR@/libhdf5_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_mpi_hl.so.8.0.2 libhdf5_mpi_hl.so.8.0.2 ${LIB}/@FLAVOR@/libhdf5_hl_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_mpi_fortran.so.8.0.2 libhdf5_mpi_fortran.so.8.0.2 ${LIB}/@FLAVOR@/libhdf5_fortran_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_mpihl_fortran.so.8.0.2 libhdf5_mpihl_fortran.so.8.0.2 ${LIB}/@FLAVOR@/libhdf5hl_fortran_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_mpi.so.8 libhdf5_mpi.so.8 ${LIB}/@FLAVOR@/libhdf5_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_mpi_hl.so.8 libhdf5_mpi_hl.so.8 ${LIB}/@FLAVOR@/libhdf5_hl_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_mpi_fortran.so.8 libhdf5_mpi_fortran.so.8 ${LIB}/@FLAVOR@/libhdf5_fortran_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_mpihl_fortran.so.8 libhdf5_mpihl_fortran.so.8 ${LIB}/@FLAVOR@/libhdf5hl_fortran_b.so.8.0.2
fi
update-alternatives \
--install ${LIB}/pkgconfig/hdf5.pc hdf5.pc ${LIB}/pkgconfig/hdf5- at FLAVOR@.pc 50 \
--slave /usr/include/hdf5 hdf5 /usr/include/@FLAVOR@/hdf5 \
- --slave ${LIB}/libhdf5.so.8.0.2 libhdf5.so.8.0.2 ${LIB}/libhdf5 at FLAVORLIB@.so.8.0.2 \
- --slave ${LIB}/libhdf5_hl.so.8.0.2 libhdf5_hl.so.8.0.2 ${LIB}/libhdf5 at FLAVORLIB@_hl.so.8.0.2 \
- --slave ${LIB}/libhdf5_fortran.so.8.0.2 libhdf5_fortran.so.8.0.2 ${LIB}/libhdf5 at FLAVORLIB@_fortran.so.8.0.2 \
- --slave ${LIB}/libhdf5hl_fortran.so.8.0.2 libhdf5hl_fortran.so.8.0.2 ${LIB}/libhdf5 at FLAVORLIB@hl_fortran.so.8.0.2 \
- --slave ${LIB}/libhdf5.so.8 libhdf5.so.8 ${LIB}/libhdf5 at FLAVORLIB@.so.8.0.2 \
- --slave ${LIB}/libhdf5_hl.so.8 libhdf5_hl.so.8 ${LIB}/libhdf5 at FLAVORLIB@_hl.so.8.0.2 \
- --slave ${LIB}/libhdf5_fortran.so.8 libhdf5_fortran.so.8 ${LIB}/libhdf5 at FLAVORLIB@_fortran.so.8.0.2 \
- --slave ${LIB}/libhdf5hl_fortran.so.8 libhdf5hl_fortran.so.8 ${LIB}/libhdf5 at FLAVORLIB@hl_fortran.so.8.0.2 \
- --slave ${LIB}/libhdf5.so libhdf5.so ${LIB}/libhdf5 at FLAVORLIB@.so.8.0.2 \
- --slave ${LIB}/libhdf5_hl.so libhdf5_hl.so ${LIB}/libhdf5 at FLAVORLIB@_hl.so.8.0.2 \
- --slave ${LIB}/libhdf5_fortran.so libhdf5_fortran.so ${LIB}/libhdf5 at FLAVORLIB@_fortran.so.8.0.2 \
- --slave ${LIB}/libhdf5hl_fortran.so libhdf5hl_fortran.so ${LIB}/libhdf5 at FLAVORLIB@hl_fortran.so.8.0.2 \
+ --slave ${LIB}/libhdf5.so.8.0.2 libhdf5.so.8.0.2 ${LIB}/@FLAVOR@/libhdf5_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_hl.so.8.0.2 libhdf5_hl.so.8.0.2 ${LIB}/@FLAVOR@/libhdf5_hl_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_fortran.so.8.0.2 libhdf5_fortran.so.8.0.2 ${LIB}/@FLAVOR@/libhdf5_fortran_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5hl_fortran.so.8.0.2 libhdf5hl_fortran.so.8.0.2 ${LIB}/@FLAVOR@/libhdf5hl_fortran_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5.so.8 libhdf5.so.8 ${LIB}/@FLAVOR@/libhdf5_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_hl.so.8 libhdf5_hl.so.8 ${LIB}/@FLAVOR@/libhdf5_hl_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_fortran.so.8 libhdf5_fortran.so.8 ${LIB}/@FLAVOR@/libhdf5_fortran_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5hl_fortran.so.8 libhdf5hl_fortran.so.8 ${LIB}/@FLAVOR@/libhdf5hl_fortran_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5.so libhdf5.so ${LIB}/@FLAVOR@/libhdf5_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_hl.so libhdf5_hl.so ${LIB}/@FLAVOR@/libhdf5_hl_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5_fortran.so libhdf5_fortran.so ${LIB}/@FLAVOR@/libhdf5_fortran_b.so.8.0.2 \
+ --slave ${LIB}/libhdf5hl_fortran.so libhdf5hl_fortran.so ${LIB}/@FLAVOR@/libhdf5hl_fortran_b.so.8.0.2 \
#DEBHELPER#
diff --git a/debian/make_bounce_libs.py b/debian/make_bounce_libs.py
index ad3a1c6..abe7285 100755
--- a/debian/make_bounce_libs.py
+++ b/debian/make_bounce_libs.py
@@ -188,7 +188,7 @@ sh('mkdir -p %s' % tmpdir)
sh('mkdir -p %s/%s' % (dirname,flavor))
for libsuffix in ['','_hl','_fortran','hl_fortran']:
- filtername = 'libhdf5%s_%s' % (libsuffix, flavor)
+ filtername = 'hdf5_%s%s' % (flavor, libsuffix)
soname = 'libhdf5%s.so.%s' % (libsuffix, sover)
bouncename ='libhdf5%s_b.so.%s' % (libsuffix, sover)
scriptname = '%s/link-libhdf5%s-%s.scr' % (tmpdir,libsuffix,flavor)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/hdf5.git
More information about the Pkg-grass-devel
mailing list