This issue has been bothering me as well, albeit primarily because the
archive has wound up with several packages that specifically insist on
libatlas3gf-base when another variant (or, in many cases, the reference
BLAS and LAPACK implementations) would serve just as well.

As such, I've put together a patch reviving the fixshlibs script from
the old packaging (with a couple of minor tweaks) and arranging for
debian/rules to invoke it between the calls to dh_makeshlibs and
dh_shlibsdeps:

Index: fixshlibs
===================================================================
--- fixshlibs   (revision 0)
+++ fixshlibs   (revision 0)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e -x
+
+for i in debian/*/DEBIAN/shlibs; do 
+       echo Fixing shlib deps in $i
+       awk '{a = $1 " " $2 " libatlas3gf-base | libatlas.so.3gf"} 
+             /libblas/ {a=$1 " " $2 " libatlas3gf-base | libblas3gf | 
libblas.so.3gf"}
+            /liblapack / {a=$1 " " $2 " libatlas3gf-base | liblapack3gf | 
liblapack.so.3gf"}
+            {print a}' $i >tmp
+       chmod 644 tmp
+       diff -u $i tmp || true
+       mv tmp $i
+done
+

Property changes on: fixshlibs
___________________________________________________________________
Added: svn:executable
   + *

Index: rules
===================================================================
--- rules       (revision 36729)
+++ rules       (working copy)
@@ -248,6 +248,12 @@
                cp $(CURDIR)/debian/control.in $(CURDIR)/debian/control; \
        fi
 
+common-binary-fixup-arch:: fixshlibs
+
+fixshlibs: $(patsubst %,binary-fixup/%,$(DEB_ARCH_PACKAGES))
+       chmod +x debian/fixshlibs
+       debian/fixshlibs
+
 binary-indep: build install
                dh_testdir -i
                dh_testroot -i

Could you please apply it?

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
Finger a...@monk.mit.edu (NOT a valid e-mail address) for more info.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to