Bug#764372: Patch attached.

Alastair McKinstry mckinstry at debian.org
Tue Oct 7 16:43:02 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


- -- 
Alastair McKinstry, <alastair at sceal.ie>, <mckinstry at debian.org>,
https://diaspora.sceal.ie/u/amckinstry
A decent provision for the poor is the true test of civilization.
~Samuel Johnson, Boswell: Life of Johnson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUNBgWAAoJEN9LdrZRJ3QsoWAP/jw4db15Hgien8rXUV4bSUTp
3uyL37AXpOOEaYWasX4QL7rFeMBqaqfK2sLZeVY+ESyfnM2DO+sFj0Xz2atP+07O
cgYqtRsfvO2s1sujGdOOZ8XCrv+MMc/KHcf3wdudGJuzku6ggbcoTXilxDN0NrtP
QygOKrD3DlICRKc67yPw5EvNOxmElcW0OhakiR/kp3C1+2A7q3kK6EgqlDCFtq60
DEZon6PZTywwJvuDDFhn3jcpKG0EinleuM5v9xMFxXie2/JbF7dEd8+xJd0uYCWb
7K3nBrVlII2AG5+S1YGXldIC0M/f7VQIOLQNHBbEvGRkqAxwMKqJYTCkVLcGD+40
VLSCIlXpkR/iGLG20ybkBu/gzFmPZ8/phh45a6TdYnXer5402GbrhUdR/Lrjdxfq
AQl0lE6Oc+xIWZVEozJ1tZfDo7UWpDjAtBRlurL/zHaleXKPxgCHp8IDpXCe0Cz4
Li5GuAIr8JK7ta32dmZTdOLNToxWY9vCf7bKpZ92ZzrjxL8b5vJ4DUtssMygMmRr
dNoAgkfDsd9Y8JcHhZWfK10mEkzCF1zmcaMSyqtgaBOPlvSOctNW6O1a4k/Q3WQ3
8oiC13kzjcaynb0fqhS6PmRgw/rxA6Jz8gCn9vdlZU5lkLQdi8pBmTxfzjXYnldJ
WF90QINtrkYAbk2sMo3I
=2sr8
-----END PGP SIGNATURE-----

-------------- next part --------------
diff -urN debian.orig/cblas.pc debian/cblas.pc
--- debian.orig/cblas.pc	1970-01-01 01:00:00.000000000 +0100
+++ debian/cblas.pc	2014-10-07 16:16:24.489404812 +0100
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Blas
+Description: The BLAS Basic Linear Algebra Subroutines library
+Version: 1.2.20110419
+Libs: -L${libdir} -lblas
+CFlags: -I${includedir}
diff -urN debian.orig/changelog debian/changelog
--- debian.orig/changelog	2014-09-23 16:49:15.000000000 +0100
+++ debian/changelog	2014-10-07 16:21:27.184511211 +0100
@@ -1,3 +1,11 @@
+blas (1.2.20110419-9.1) unstable; urgency=medium
+
+  [Alastair McKinstry]
+  * Non-maintainer upload.
+  * Add pkg-config file blas.pc and alternatives. Closes: #764372.
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Tue, 07 Oct 2014 16:00:19 +0100
+
 blas (1.2.20110419-9) unstable; urgency=medium
 
   * On any-i386 and m68k, compile test programs with -ffloat-store. This
diff -urN debian.orig/libblas-dev.install debian/libblas-dev.install
--- debian.orig/libblas-dev.install	2013-09-22 16:34:55.000000000 +0100
+++ debian/libblas-dev.install	2014-10-07 16:16:37.237698219 +0100
@@ -2,3 +2,4 @@
 libblas.a usr/lib/libblas/
 cblas/src/cblas.h usr/include/
 cblas/src/cblas_f77.h usr/include/
+debian/cblas.pc usr/lib/pkgconfig
diff -urN debian.orig/libblas-dev.postinst debian/libblas-dev.postinst
--- debian.orig/libblas-dev.postinst	2014-02-19 14:38:49.000000000 +0000
+++ debian/libblas-dev.postinst	2014-10-07 16:16:43.141833039 +0100
@@ -3,7 +3,13 @@
 set -e
 
 update-alternatives --install /usr/lib/libblas.so libblas.so /usr/lib/libblas/libblas.so 10 \
-     --slave /usr/lib/libblas.a libblas.a /usr/lib/libblas/libblas.a
+     --slave /usr/lib/libblas.a libblas.a /usr/lib/libblas/libblas.a \
+     --slave /usr/lib/pkgconfig/blas.pc blas.pc /usr/lib/pkgconfig/cblas.pc
+
+# Remove previous (deprecated) alternatives
+# See bug #576801
+update-alternatives --remove libblas-3gf.so /usr/lib/libblas.so
+update-alternatives --remove libblas-3gf.a /usr/lib/libblas.a
 
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.


More information about the debian-science-maintainers mailing list