Your message dated Wed, 15 Oct 2014 21:30:38 +0000
with message-id <e1xew9w-0004x8...@franck.debian.org>
and subject line Bug#764491: fixed in openblas 0.2.11-3
has caused the Debian Bug report #764491,
regarding openblas: Please provide pkg-config files for blas, lapack
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
764491: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764491
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: openblas
Severity: wishlist
Tags: patch

Please apply the attached patch to enable openblas to provide pkgconfig files
for blas, lapack.

This patch uses alternatives to alias blas-openblas.pc and lapack-openblas.pc
to blas.pc and lapack.pc respectively, enabling you to link either with
openBLAS either 'generically' or expliclity.

While I plan to get these patches into upstream, both Gentoo and Fedora have
already got blas.pc and lapack.pc and this functionality would be very
convenient.

-- System Information:
Debian Release: 7.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.32-5-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to ga_IE.UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -urN debian.orig/blas-openblas.pc debian/blas-openblas.pc
--- debian.orig/blas-openblas.pc	1970-01-01 01:00:00.000000000 +0100
+++ debian/blas-openblas.pc	2014-10-08 12:42:05.072354184 +0100
@@ -0,0 +1,10 @@
+    prefix=/usr
+    libdir=${prefix}/lib/openblas-base
+    includedir=${prefix}/include/openblas
+    Name: blas-openblas
+    Description:  Optimized BLAS (linear algebra) library based on GotoBLAS2
+    Version: 0.2.11
+    URL: https://github.com/xianyi/OpenBLAS
+    Libs: -L${libdir} -lblas
+    Libs.private: -L${libdir} -lblas -lm
+    Cflags: -I${includedir}
diff -urN debian.orig/changelog debian/changelog
--- debian.orig/changelog	2014-09-27 19:25:40.000000000 +0100
+++ debian/changelog	2014-10-08 12:14:26.233650002 +0100
@@ -1,3 +1,11 @@
+openblas (0.2.11-2.1) UNRELEASED; urgency=medium
+
+  [ Alastair McKinstry ]
+  * Non-maintainer upload.
+  * Add blas-openblas.pc file, and blas.pc symlink via update-alternatives
+
+ -- Alastair McKinstry <mckins...@debian.org>  Wed, 08 Oct 2014 12:13:24 +0100
+
 openblas (0.2.11-2) unstable; urgency=medium
 
   * libopenblas-base: add dependency on libblas-common.
diff -urN debian.orig/lapack-openblas.pc debian/lapack-openblas.pc
--- debian.orig/lapack-openblas.pc	1970-01-01 01:00:00.000000000 +0100
+++ debian/lapack-openblas.pc	2014-10-08 12:42:40.849185631 +0100
@@ -0,0 +1,10 @@
+    prefix=/usr
+    libdir=${prefix}/lib/openblas-base
+    includedir=${prefix}/include/openblas
+    Name: lapack-openblas
+    Description:  Optimized BLAS (linear algebra) library, LAPACK
+    Version: 0.2.11
+    URL: https://github.com/xianyi/OpenBLAS
+    Libs: -L${libdir} -llapack
+    Libs.private: -L${libdir} -llapack -lm
+    Cflags: -I${includedir}
diff -urN debian.orig/libopenblas-dev.install debian/libopenblas-dev.install
--- debian.orig/libopenblas-dev.install	2014-07-29 20:05:20.000000000 +0100
+++ debian/libopenblas-dev.install	2014-10-08 14:37:29.657787545 +0100
@@ -1,3 +1,4 @@
 usr/lib/libopenblas*.a
 usr/lib/libopenblas.so
 usr/include/*   /usr/include/openblas/
+debian/*.pc     /usr/lib/pkgconfig
diff -urN debian.orig/libopenblas-dev.postinst debian/libopenblas-dev.postinst
--- debian.orig/libopenblas-dev.postinst	2014-08-05 14:56:13.000000000 +0100
+++ debian/libopenblas-dev.postinst	2014-10-08 14:35:15.942669963 +0100
@@ -5,12 +5,16 @@
 update-alternatives --install /usr/lib/libblas.so libblas.so \
 	/usr/lib/openblas-base/libblas.so 40 \
     --slave /usr/lib/libblas.a libblas.a \
-    /usr/lib/openblas-base/libblas.a
+    /usr/lib/openblas-base/libblas.a \
+    --slave /usr/lib/pkgconfig/blas.pc blas.pc \
+    /usr/lib/pkgconfig/blas-openblas.pc
 
 update-alternatives --install /usr/lib/liblapack.so liblapack.so \
 	/usr/lib/openblas-base/liblapack.so 40 \
     --slave /usr/lib/liblapack.a liblapack.a \
-    /usr/lib/openblas-base/liblapack.a
+    /usr/lib/openblas-base/liblapack.a \
+    --slave /usr/lib/pkgconfig/lapack.pc lapack.pc \
+    /usr/lib/pkgconfig/lapack-openblas.pc
 
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.

--- End Message ---
--- Begin Message ---
Source: openblas
Source-Version: 0.2.11-3

We believe that the bug you reported is fixed in the latest version of
openblas, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 764...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Villemot <sebast...@debian.org> (supplier of updated openblas package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Wed, 15 Oct 2014 21:54:50 +0200
Source: openblas
Binary: libopenblas-base libopenblas-dev
Architecture: source amd64
Version: 0.2.11-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Sébastien Villemot <sebast...@debian.org>
Description:
 libopenblas-base - Optimized BLAS (linear algebra) library based on GotoBLAS2
 libopenblas-dev - Optimized BLAS (linear algebra) library based on GotoBLAS2
Closes: 764491
Changes:
 openblas (0.2.11-3) unstable; urgency=medium
 .
   [ Alastair McKinstry ]
   * Add {blas,lapack}-openblas.pc files and symlinks via
     update-alternatives. (Closes: #764491)
Checksums-Sha1:
 2b19dcae17f7dbc223e527491a78f73768541770 2266 openblas_0.2.11-3.dsc
 e153c2088cca33ea42a5592ca047ff484af5d3ed 13476 openblas_0.2.11-3.debian.tar.xz
 5bbbbd4f222e8096aa8dc68321ae406042f191d8 4651830 
libopenblas-base_0.2.11-3_amd64.deb
 878f4887864bc0de94c5184fa82b28049ecb589c 2936884 
libopenblas-dev_0.2.11-3_amd64.deb
Checksums-Sha256:
 bbd0915016634af2ebf9bb9c0b18fef76f958dde74a842b9fe8e14b01277f1ed 2266 
openblas_0.2.11-3.dsc
 c00c962c717d5a06487fa882195fde80460646f5e0a3cdaf8de3668568b09606 13476 
openblas_0.2.11-3.debian.tar.xz
 71d1acce0ae2f01709a0c9e14a810eea4793abe4a45311a2e3c892b4f5ba17d0 4651830 
libopenblas-base_0.2.11-3_amd64.deb
 ca82baa7541ef8f79db3cdff99f5641d15c6f203583edcaf0172caad4b9dd131 2936884 
libopenblas-dev_0.2.11-3_amd64.deb
Files:
 f5868282fb562cc92b0e4b33e9e6bd45 2266 devel optional openblas_0.2.11-3.dsc
 a4478fddd86759c7c5b08b6d24af5211 13476 devel optional 
openblas_0.2.11-3.debian.tar.xz
 2b6fdd870365212405f0d8bb7b157b38 4651830 libs optional 
libopenblas-base_0.2.11-3_amd64.deb
 e45c085eda9375ae35747c4c7ae311da 2936884 libdevel optional 
libopenblas-dev_0.2.11-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUPtLNAAoJECzs6TUOzr5K2bwP/0HiFLHHQOIe3XEp61/u1n47
QDhyBSUL+500VzmXcXXYsZqyxovtOTVrSucnw7j5+A4d0B36w6T9Ka5/sI2qA/yD
8XhTQ/1krexBdp+VaTGnsjp/ETITQxtMi8baQVsNUI5DG6wDmQbNVYAxR5BIEhBa
67LnLUEVTtHqKgFDlJEDm/VLHzgeYk0fbZ+vtSptyUXFX6gnAUhefHVeMRxTCUpm
MEEWHCR8CUocrO4eAjtiP/9Hbq7epDqek0URKhtcEv0QpnYkujpsJre8hJBVN7i2
Tx+DLpQsQ+j/ZtzfK7t++GZnGJzhVMtgX4Ac5z/e6MnTDzyYnBNob+bkshFrEui3
f3Jz8kj39dK8MVSEhGTJJ3Ys9o4044qc66Eloqy7vsGBSxGUbsbpJzxbWeUtAcxz
SNRkjp5m/J0Xcv3xRMbWsdyXqbD9hxu9qHHlSnofwVn+EaPxj7MypHuw6xKFcDmK
QUew1iaO9wfL0+ROv37D90rvKEjZb4ooWXXfFe97Y4Ezj18A57VDhNed35uehjTh
0YsvzEW/614vJP/AYqP73sXEfmg2l1iRGYFpZhCHAgrj1G8Z+oFjwmx9nesEec1+
cB6Cb3kB9pMoIBICuv11/P6CdGa+w5KA54tIkVzPHoMImUm7nXTsL+wDl632NI6f
jkVDX9eawqP3MGqJkds2
=Q5jL
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to