[SCM] ATLAS packaging for Debian branch, master, updated. upstream/3.8.4-26-gc81c720

Sébastien Villemot sebastien at debian.org
Fri Jun 7 13:47:31 UTC 2013


The following commit has been merged in the master branch:
commit 10dc06707f8c2bd7b983d2dabb437f0067a809b9
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Thu Jun 6 18:40:22 2013 +0200

    Modify shlibs file of libatlas3-base, such that packages using
    libblas/liblapack depend on any BLAS/LAPACK alternative, while packages
    depending on ATLAS-specific libraries (e.g. libatlas.so) depend specifically
    on libatlas3-base.

diff --git a/debian/changelog b/debian/changelog
index 50dce4a..edc8ef4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,10 @@ atlas (3.10.1-1) UNRELEASED; urgency=low
     is selected for BLAS
   * Add libblas.a as slave in the libblas.so alternative (Closes: #701921)
   * Add symlinks for lib{f77blas,atlas}.a in /usr/lib (Closes: #666203)
+  * Modify shlibs file of libatlas3-base, such that packages using
+    libblas/liblapack depend on any BLAS/LAPACK alternative, while packages
+    depending on ATLAS-specific libraries (e.g. libatlas.so) depend specifically
+    on libatlas3-base.
   * corei1.diff: remove patch, applied upstream
   * Use my @debian.org email address
   * Remove obsolete DM-Upload-Allowed flag
diff --git a/debian/libatlas3-base.shlibs b/debian/libatlas3-base.shlibs
new file mode 100644
index 0000000..5a7e6bd
--- /dev/null
+++ b/debian/libatlas3-base.shlibs
@@ -0,0 +1,6 @@
+libatlas 3 libatlas3-base
+libcblas 3 libatlas3-base
+libf77blas 3 libatlas3-base
+liblapack_atlas 3 libatlas3-base
+libblas 3 libblas3 | libblas.so.3
+liblapack 3 liblapack3 | liblapack.so.3
diff --git a/debian/rules b/debian/rules
index 32ee7bb..9131e8b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -156,5 +156,14 @@ install/libatlas-doc::
 		cp -R $(CURDIR)/doc/* $(CURDIR)/TexDoc/*.pdf $(CURDIR)/debian/libatlas-doc/usr/share/doc/libatlas-doc/; \
 	fi
 
+# We want packages using libblas/liblapack to depend on any BLAS/LAPACK
+# alternative, and we want packages depending on ATLAS-specific libraries
+# (e.g. libatlas.so) to depend specifically on libatlas3-base.
+#
+# Such a setting is not supported by dh_makeshlibs, so we ship a hand-crafted
+# shlibs file.
+binary-predeb/libatlas3-base::
+	cp debian/libatlas3-base.shlibs debian/libatlas3-base/DEBIAN/shlibs
+
 get-orig-source:
 	-uscan --upstream-version 0

-- 
ATLAS packaging for Debian



More information about the debian-science-commits mailing list